Hi,

Can anybody tell me how to password protect a sub directory in Apache.
I have tried making .htaccess but somehow things did  not work out.So I
removed .htaccess and Alternatively,
I tried editing httpd.conf and added a <Directory> tag in it.The script
I added in httpd.conf is as follows

<Directory /usr/local/apache/Main Directory/Sub-Directory to be password
protected>
AllowOverride None
AuthType Basic
AuthUserFile "any validation file"
require valid-user
</Directory>

But this too does not work.Plz  suggest.


Thanx in anticipation,

Alok.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to