[H-GEN] dot htaccess problem

theticus at excite.com theticus at excite.com
Thu Jul 25 11:33:43 EDT 2002


 
Hi All,

I've been trying to setup a password protected web folder on my Linux 7.2 box.

And I can't get it working. Thats why I'm here sending this mail.

Can anyone please help me and point me where I went wrong!
Here is my .htaccess file. Just a simple one! It works on uqconnect server.

---------------------------------

AuthUserFile /var/www/html/.htpasswd
AuthGroupFile /dev/null
AuthName "Welcome to Password Test Page"
AuthType Basic


require valid-user


---------------------------------

And then from shell prompt I did the following.

#htpasswd -c /var/www/html/.htpasswd theticus

and entered the new password
re-entered the same password.

and I chmod 644 to .htaccess as the book said.

But when I browse the page, it display the index.html which is a dummy one that I created instead of prompting me to enter the username and password.

Do I have to do anything else in httpd.conf????



Regards,
Thet





------------------------------------------------
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20020725/5b705618/attachment.html>


More information about the General mailing list