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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htpasswd and .htaccess - please help

Status
Not open for further replies.

nappaji

Programmer
Mar 21, 2001
76
US
I have a linux box with Apache. My webpage files resides on this box i.e. they are not mounted from any other system.

I have created a .htaccess and .htpasswd file in a particular directory. When I try to access the directory from the webpage, it asks for a user name and passwd.

This is fine.

But, recently I transferred the files onto a directory which resides on a Sun OS box. And this directory is mounted to a Linux box which is the webserver.

Now, when I click on the webpage, the username and passwd authentication is not asked for.

Why the difference???

Thanks
 
Does a directory container exist in httpd.conf for that directory with the directive `AllowOverride ALL'?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top