locationmatch

Apache, LocationMatch: match query string

How can I match a query string using LocationMatch with apache? <LocationMatch "/index.php?a=b.*"> // ... ... won't work unfortunately. Kind regards ...

UserDIr on a django server

I have a django website running with mod_python and Apache. The current configuration directs all / traffic to the django site. Now, I need to enable userDir /~user on the machine as well. I have enabled the userDir module in Apache. Since, Apache is redirecting all the request to the django app, /~user is not working as the django just ...

How to configure in Apache an exception to password protection for a CakePhp App?

Hello, I have a CakePHP Application which I want to protect with a password. The tricky thing is, that all files/locations should be only accessible with a password EXCEPT one specific Address (a function withing a CakePHP-controller) The Address is like that: http://example.com/MyApp/MyController/MyFunction?MyParam=MyValue All...

Apache LocationMatch regex with subdomain

I'm trying to use LocationMatch to match an URL in a website's second-level subdomain but not in it's third-level subdomain. This is because I want to password protect some URLs at that level. eg. level2.domain.com/some/url should match but not level3.level2.domain.com/some/url Than I would apply the necessary directives to password pr...