Forum Moderators: phranque
I am on apache server and I have password protected a directory, named ..../admin. All has been working fine until I decided to use friendly URL's and put the following in my .htaccess file which resides in /public_html :
# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
All redirects are working fine, but I fail browsing web pages in my password protected directory. The user/password message box doesn't pop up any more. It seems that the requests are handled by the RewriteCond/RewriteRule statements above and I am redirected to the home index file.
Any ideas, please?