httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9038] - suexec is NOT being called by Apache 2.0.36
Date Fri, 24 May 2002 14:54:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9038

suexec is NOT being called by Apache 2.0.36





------- Additional Comments From nazonazo@super.win.ne.jp  2002-05-24 14:54 -------
How about to define mod_suexec/mod_userdir hook order as below:
(This will ensure suexec+userdir would work fine,
 regardless of definition of SuexecUserGroup directives.)

--- httpd-2.0.36/modules/mappers/mod_userdir.c.org      Mon Apr 29 16:45:43 2002
+++ httpd-2.0.36/modules/mappers/mod_userdir.c  Thu May 23 22:32:50 2002
@@ -393,10 +393,13 @@
 static void register_hooks(apr_pool_t *p)
 {
     static const char * const aszSucc[]={ "mod_alias.c",NULL };
+#ifdef HAVE_UNIX_SUEXEC
+    static const char * const suexSucc[]={ "mod_suexec.c",NULL };
+#endif
 
     ap_hook_translate_name(translate_userdir,NULL,aszSucc,APR_HOOK_MIDDLE);
 #ifdef HAVE_UNIX_SUEXEC
-    ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,APR_HOOK_MIDDLE);
+    ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,suexSucc,APR_HOOK_MIDDLE);
 #endif
 }
 
--- httpd-2.0.36/modules/generators/mod_suexec.c.org    Thu Apr 25 16:18:39 2002
+++ httpd-2.0.36/modules/generators/mod_suexec.c        Fri May 24 22:15:49 2002
@@ -164,7 +164,9 @@
 
 static void suexec_hooks(apr_pool_t *p)
 {
-    ap_hook_get_suexec_identity(get_suexec_id_doer,NULL,NULL,APR_HOOK_MIDDLE);
+    static const char * const suexPre[]={ "mod_userdir.c",NULL };
+
+    ap_hook_get_suexec_identity(get_suexec_id_doer,suexPre,NULL,APR_HOOK_MIDDLE);
     ap_hook_post_config(suexec_post_config,NULL,NULL,APR_HOOK_MIDDLE);
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message