Take the 2-minute tour ×  I have a filesmatch directive in my
.htaccess file:  <filesMatch "admin">     AuthUserFile
/var/www/html/.htpasswd     AuthType Basic     AuthName
"Protected Area"     require valid-user  It matches
http://www.website.com/admin (and sub-pages such as
/admin/edit_page)  But not
http://www.website.com/index.php/admin  (I also have a
mod_rewrite rule to hide the index.php from most of the website,
don't know if this conflicts).  The mod rewrite rule:  <IfModule
mod_rewrite.c>  RewriteEngine On  RewriteBase /   #Removes
access to the system folder by users.  #Additionally this will
allow you to create a System.php controller,  #previously this
would not have been possible.  RewriteCond %{REQUEST_URI}
^system.*   #request to index.php  RewriteCond
%{REQUEST_FILENAME} !-f  RewriteCond %{REQUEST_FILENAME} !-d
share|improve this question It would help if you posted the
mod_rewrite rule as well; it's impossible to see any conflicts
otherwise. –  Jenny D Jul 5 '12 at 10:27 Added now, thanks – 