AliasMatch ^/(?!auth|sitepage).* /var/moin/apidoc/server/moin.wsgi WSGIScriptAliasMatch ^/(?!auth|sitepage).* /var/moin/apidoc/server/moin.wsgi
On Tue, Oct 11, 2011 at 22:39, Graham Dumpleton <[email protected]> wrote: > Provide both the WSGIScriptAliasMatch and AliasMatch directive lines you used. > > Graham > > On 12 October 2011 16:29, Forest <[email protected]> wrote: >> Hi, all. >> >> I believe I should be able to use apache's AliasMatch directive >> instead of WSGIScriptAlias, so long as I also use SetHandler wsgi- >> script and Options +ExecCGI in my <Directory> section. This is mostly >> working for me, except that SCRIPT_NAME is being set to the entire >> path of each request's URL, and PATH_INFO is always empty. >> Unfortunately, this causes MoinMoin to misbehave. >> >> When I use WSGIScriptAlias, SCRIPT_NAME and PATH_INFO are set >> correctly. >> >> What must I do to get modwsgi to set SCRIPT_NAME and PATH_INFO >> correctly when using AliasMatch? >> >> (Incidentally, I'm using AliasMatch in order to route all paths except >> a couple of specific ones to MoinMoin's wsgi application. I tried >> WSGIScriptAliasMatch with the same regular expression, but this caused >> apache to fail with recursion errors and segmentation faults in the >> error log.) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/modwsgi?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
