0
votes
0answers
45 views

.htpasswd allow one URL with RewriteEngine = on

I'm trying to get exception from auth (.htpasswd ) for one specific URL, but seems, that it does not work with my Rewriting rules. Disabling RewriteEngine solving auth problem. My .htaccess: SetEnv ...
0
votes
0answers
244 views

Password protect all requests except a certain directory

All requests on my domain go through a central PHP file (CMS) and I want to add a simple htaccess password to the site to all requests except those that match a certain sub directory. WOULD NOT ASK ...
0
votes
2answers
2k views

Private access to the path within RewriteEngine rule

I have the following .htaccess file (usual one for MediaWiki): RewriteEngine On RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA] RewriteRule ^wiki/*$ /w/index.php [L,QSA] RewriteRule ^/*$ ...