Closed GoogleCodeExporter closed 8 years ago
Area of code that would need to change is:
/*
* Only allow the process group to match against a daemon
* process defined within a virtual host with the same
* server name or a daemon process defined at global server
* scope.
*/
if (group->server != r->server && group->server != wsgi_server) {
if (strcmp(group->server->server_hostname,
r->server->server_hostname) != 0) {
wsgi_log_script_error(r, apr_psprintf(r->pool, "Daemon "
"process called '%s' cannot be "
"accessed by this WSGI application",
config->process_group), r->filename);
return HTTP_INTERNAL_SERVER_ERROR;
}
}
Original comment by Graham.Dumpleton@gmail.com
on 27 Feb 2009 at 11:00
Not sure this restriction can actually be implemented. The VirtualHost
directive syntax is:
<VirtualHost addr[:port] [addr[:port]] ...> ... </VirtualHost>
Thus, it could be listening on multiple ports, or even all ports.
Original comment by Graham.Dumpleton@gmail.com
on 4 Mar 2009 at 5:12
Can't automatically do anything to make this more restrictive. Will just need
to be clear in the documentation
that one can reference between same named virtual hosts on different ports.
This could be a problem if allowing
users to select the process group. If this should not be allowed,
WSGIRestrictProcess directive should be used to
control what processes users can select.
Original comment by Graham.Dumpleton@gmail.com
on 12 Mar 2009 at 5:38
Original issue reported on code.google.com by
Graham.Dumpleton@gmail.com
on 27 Feb 2009 at 10:53