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

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/Pg4riD66vfoJ.
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/webpy?hl=en.

Reply via email to