Forum Moderators: phranque
My basic authentication is set up using an htaccess file in the folder that I am redirecting to. Shown below is the htaccess file that I currently have tested and works. You need to enter a password if you are not comming from localhost.
Order Allow,Deny
AuthType Basic
AuthName "System Administration"
AuthUserFile XXXXXXXXXXXXXXXXXXXX
Require valid-user
Allow from 127.0.0.1
Satisfy Any
I then have a plain old htaccess file to redirect the entire site to the directory containing the basic authentication. The basic authentication works fine, and the redirection works fine, but when the 2 are used together I get 404 errors.
Any help would be great,
Thanks.