Hello,
I'm using Apache2 with mod_wsgi and web.py to deploy an application. The application is made up of several .py files, each mapping to a different HTTP endpoint, like this:
WSGIScriptAlias /op1 /opt/app/web/rest/op1.py
WSGIScriptAlias /op2 /opt/app/web/rest/op2.py
WSGIScriptAlias /op3 /opt/app/web/rest/op3.py
This works.
Each of the /op[1,2,3] now have several sub-ops, handled by web.py, called like thishttp://host/op[1,2,3]/subop[1,2,3,4,5]. This also works.
Now I want to selectively enable SSLOptions +StdEnvVars for /op2/subop2 only, and leave the others unaffected.
I tried with
<Location /op2/subop2>
SSLVerifyClient require
SSLVerifyDepth 10
SSLOptions +StdEnvVars
</Location>
but that didn't help. I guess I'm doing something completely wrong here. Note that if I put the SSLOptions out of the Location declaration and directly into the virtualhost, like the WSGIScriptAlias, the SSL does work as expected. However, it just works for everything, which I don't want.
Any ideas are much appreciated.
Thanks,
Mario