eric1
05-18-2003, 07:56 PM
Hi,
I'm currently using RedHat 8.0/Apache 2.0.40 to run my website. I've recently added a private section to the site using .htaccess. I found a document on BigNoseBirds.com that walked me through creating the directory and then the .htaccess file. My file looks like this
AuthUserFile /var/www/html/secure/.htpasswd
AuthGroupFile /dev/null
AuthName "The Secret Page"
AuthType Basic
<Limit GET POST>
require user eric
</Limit>
I then created a user using the following command
htpasswd -c .htpasswd eric
Mind you all these things were done using vi while in the "secure" directory.
Ok, so i set up the link on the website and then gave it a whirl. I get the login box, but when i try to enter the user that i setup it denies me access and eventually throws me to a Authentication required page.
Did i miss a step? Or have i typed something incorrectly?
I'd appreciate any help that you can offer.
eric
I'm currently using RedHat 8.0/Apache 2.0.40 to run my website. I've recently added a private section to the site using .htaccess. I found a document on BigNoseBirds.com that walked me through creating the directory and then the .htaccess file. My file looks like this
AuthUserFile /var/www/html/secure/.htpasswd
AuthGroupFile /dev/null
AuthName "The Secret Page"
AuthType Basic
<Limit GET POST>
require user eric
</Limit>
I then created a user using the following command
htpasswd -c .htpasswd eric
Mind you all these things were done using vi while in the "secure" directory.
Ok, so i set up the link on the website and then gave it a whirl. I get the login box, but when i try to enter the user that i setup it denies me access and eventually throws me to a Authentication required page.
Did i miss a step? Or have i typed something incorrectly?
I'd appreciate any help that you can offer.
eric