Forum Moderators: phranque
--------------------
AuthUserFile C:/blah/.htpasswd
AuthGroupFile C:/dev/null
AuthName "Whoa Buddy! Email example@msn.com if you want to pass!"
AuthType Basicrequire nobody
Thus not requiring anyone to enter the /errors/ folder. But that doesn't work :(. Does have an idea on how to solve this? Thank you for your time! Merry Christmas!
[edited by: jdMorgan at 2:26 am (utc) on Dec. 19, 2004]
[edit reason] Removed specifics per TOS [/edit]
My .htaccess that password protects my site:
-----------------------------------
AuthUserFile /var/.htpasswd
AuthGroupFile /dev/null
AuthName "Whoa Buddy!"
AuthType BasicErrorDocument 401 /errors/auth.php
<Limit POST GET>
require user CGod
</Limit>[code]
-----------------------------------
The .htaccess where the /errors folder is:
-----------------------------------
[code]AuthUserFile /var/.htpasswd
AuthGroupFile /dev/null
AuthName "Whoa Buddy!"
AuthType Basic
<LIMIT POST>
require user CGod
</LIMIT>
You see what I did was that when I <LIMIT GET>, I'm actually blocking the page all of the time. So I just use <LIMIT POST> so that the page will appear! I'm so smart :)