[H-GEN] dot htaccess problem
Timothy J Hitchens
tim at hitcho.com.au
Thu Jul 25 13:41:25 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
yes in the httpd.conf look at the overide options for directories eg
overide all
Timothy Hitchens (Hitcho)
tim at hitcho.com.au
HITCHO has Spoken!
-----Original Message-----
From: Majordomo [mailto:majordom at caliburn.humbug.org.au] On Behalf Of
theticus at excite.com
Sent: Friday, 26 July 2002 1:34 AM
To: general at humbug.org.au
Subject: [H-GEN] dot htaccess problem
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!
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list