I've 2 .htaccess files, one on the root , and here's the content :
Code:
Options +FollowSymLinks
Options -Indexes
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
and the other one on "/admin/", and here's the content :
Code:
AuthType Basic
AuthName "Administrator Control Panel"
AuthUserFile "./passwd"
require valid-user
when I visit :
http://www.domain.com/admin/
it redirect me to /index.php
and not showing the authentication window !!
when I delete 2nd file which in "/admin/" , I can access
http://www.domain.com/admin/
and If I deleted 1st file, the authentication window on
http://www.domain.com/admin/ appears !