2009/1/2 Collin Grady <[email protected]>:
>
> Hi, I'm looking at switching a setup from mod_python to mod_wsgi, but
> I'm having trouble making it work with an allow/deny setting we had
> before.
>
> We're using SetEnvIfNoCase with some user-agent matches to set a var,
> then a Deny later to block these bad clients, and with mod_python this
> works fine in the Location block, but with mod_wsgi I can't make it
> work - I tried adding an extra <Location "/"> with nothing but the
> allow/deny stuff, adding it to the <Directory> block that matches
> where the wsgi file is, and nothing seems to work.
>
> Nothing I add causes errors, but the blocked user agents are able to
> request the page like normal.

Post the relevant bits of the Apache configuration so can see exactly
what you are doing.

Graham

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to