Chadi
02-19-2009, 10:12 PM
I have a custom renamed admin folder which has been working fine since long ago and of course setup accordingly in the config file. I originally also had been using deny/allow all IP method in an .htaccess file which also worked just fine. Always allowed me in from the single allowed IP and denied from everywhere else. However, I have this strange issue that I am unable to trace.
This time, I decided to use the Apache satisfy me .htaccess method (login auth required from any non-allowed IP).
My htaccess is this:
AuthUserFile "/home/username/.htpasswds/public_html/adminfolder/passwd"
AuthName "Somename"
AuthType Basic
require valid-user
Order allow,deny
Allow from xxxIPREMOVEDxxx
Satisfy any
When I use this method or just plain auth method (password protected admin folder), it always redirects me back to my home page.
The odd part is I'm using the same exact htaccess method on a couple other domains hosted on the same exact server. They all work fine there.
This time, I decided to use the Apache satisfy me .htaccess method (login auth required from any non-allowed IP).
My htaccess is this:
AuthUserFile "/home/username/.htpasswds/public_html/adminfolder/passwd"
AuthName "Somename"
AuthType Basic
require valid-user
Order allow,deny
Allow from xxxIPREMOVEDxxx
Satisfy any
When I use this method or just plain auth method (password protected admin folder), it always redirects me back to my home page.
The odd part is I'm using the same exact htaccess method on a couple other domains hosted on the same exact server. They all work fine there.