architekt1024 / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Run mod_wsgi access checker after mod_ssl. #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See:

http://groups.google.com/group/modwsgi/browse_thread/thread/b7e01321fb68703b

This allows access checker to look up SSL certificate information.

--- a/mod_wsgi.c        Tue Apr 19 11:33:51 2011 +1000 
+++ b/mod_wsgi.c        Fri Jan 27 20:52:25 2012 -0500 
@@ -14880,6 +14880,7 @@ 
 #endif 
     static const char * const p6[] = { "mod_python.c", NULL }; 
+    static const char * const p7[] = { "mod_ssl.c", NULL }; 
     ap_hook_post_config(wsgi_hook_init, p6, NULL, APR_HOOK_MIDDLE); 
     ap_hook_child_init(wsgi_hook_child_init, p6, NULL, 
APR_HOOK_MIDDLE); 
@@ -14908,7 +14909,7 @@ 
     ap_register_provider(p, AUTHZ_PROVIDER_GROUP, "wsgi-group", 
                          AUTHZ_PROVIDER_VERSION, 
&wsgi_authz_provider); 
 #endif 
-    ap_hook_access_checker(wsgi_hook_access_checker, NULL, n5, 
APR_HOOK_MIDDLE); 
+    ap_hook_access_checker(wsgi_hook_access_checker, p7, n5, 
APR_HOOK_MIDDLE); 
 #endif 
 } 

Original issue reported on code.google.com by Graham.Dumpleton@gmail.com on 28 Jan 2012 at 2:47

GoogleCodeExporter commented 8 years ago
Change made in mod_wsgi trunk for 4.0.

Original comment by Graham.Dumpleton@gmail.com on 19 Mar 2012 at 9:44

GoogleCodeExporter commented 8 years ago
This was back ported to 3.4.

Original comment by Graham.Dumpleton@gmail.com on 28 Mar 2013 at 6:41