Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess is not working 1

Status
Not open for further replies.

PaulBarbeau

Programmer
Nov 23, 2000
109
CA
I am trying to make it so when every you connect the the website (on the box ) it asked you for username and password
In my root folder (/var/ i have put the .htaccess file however it does not seam to be picking it up. i have looked at the manual and have no idea what i am doing wronge. anyone have any ideas? I have created the password using htpasswd.
 
well not really. I get the popup and it using the setting i have in my .htaccess file however when i enter my username and password it does not work. Just keeps asking them beflow is my .htaccess

AuthType Basic
AuthName "My Area"
AuthUserFile /var/Require valid-user
 
Yep it is and it is the same setting as in the manual told me to make it. Let me check to confirm what user the service is running under. Thanks again for the help you send me on a track to look for.

chown root.nogroup /var/chmod 640 /var/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top