]> granicus.if.org Git - apache/commitdiff
The rewrite-args hook isn't available to MPM DSOs. Piggy-back on the
authorJeff Trawick <trawick@apache.org>
Wed, 25 Mar 2009 14:50:24 +0000 (14:50 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 25 Mar 2009 14:50:24 +0000 (14:50 +0000)
linked-in mod_unixd.c to handle that.

(The set of MPMs modified is the same set for which mod_unixd is enabled,
which is approximately equivalent to the set of Unix MPMs which anybody has
tried to maintain in recent memory.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758278 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/unix/mod_unixd.c
server/mpm/experimental/event/event.c
server/mpm/prefork/prefork.c
server/mpm/simple/simple_api.c
server/mpm/worker/worker.c

index a33cf4bd9983294d1b97aacd0d2e85324f074a37..256232b734718a6499c04b69abae91a582c4990f 100644 (file)
@@ -389,7 +389,8 @@ static const command_rec unixd_cmds[] = {
 };
 
 module AP_MODULE_DECLARE_DATA unixd_module = {
-    STANDARD20_MODULE_STUFF,
+    MPM20_MODULE_STUFF,
+    ap_mpm_rewrite_args,
     NULL,
     NULL,
     NULL,
index b1d3e9659c93242a752b66221fee9fccaa425082..d11482e533d683fbc301c7b7b1b4aeac7eab7c8a 100644 (file)
@@ -2774,7 +2774,7 @@ static const command_rec event_cmds[] = {
 
 module AP_MODULE_DECLARE_DATA mpm_event_module = {
     MPM20_MODULE_STUFF,
-    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
+    NULL,                       /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     NULL,                       /* create per-server config structure */
index 13acdb7769d93f778cfa9b30b96a7142c05c5df5..4be43569cdf7f6504919f7844f7da31f6e71d64e 100644 (file)
@@ -1569,7 +1569,7 @@ AP_GRACEFUL_SHUTDOWN_TIMEOUT_COMMAND,
 
 module AP_MODULE_DECLARE_DATA mpm_prefork_module = {
     MPM20_MODULE_STUFF,
-    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
+    NULL,                       /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     NULL,                       /* create per-server config structure */
index b6fb66b115f4cfb909105a4bab57eb7320400d4e..f6d0e539399ed04cade6720879dadfe6434f1eca 100644 (file)
@@ -270,7 +270,7 @@ static const command_rec simple_cmds[] = {
 
 module AP_MODULE_DECLARE_DATA mpm_simple_module = {
     MPM20_MODULE_STUFF,
-    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
+    NULL,                       /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     NULL,                       /* create per-server config structure */
index 846f26da781281dcff4458e3506356cd34ea71d1..d5072fe8a4f1db7c586161493a6eeaedbace5e53 100644 (file)
@@ -2352,7 +2352,7 @@ AP_GRACEFUL_SHUTDOWN_TIMEOUT_COMMAND,
 
 module AP_MODULE_DECLARE_DATA mpm_worker_module = {
     MPM20_MODULE_STUFF,
-    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
+    NULL,                       /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     NULL,                       /* create per-server config structure */