On Tue, 20 Mar 2001, Purav wrote:

> Hi,
>
> Authentication in the html directory in Apache works fine ..but when I do
> for it for my servlets directory it doesnt work
> this is what I have in the httpd.conf
>
> <directory /home/httpd/servlets>
> deny from all
> AllowOverRide AuthConfig
> </directory>
>
> and in the .htaccess file in the servlets directory..I have the
> authentication stuff. the .htaccess file when put in the html directory
> works fine
>
Probably Apache does not read the .htaccess file because it is in a
directory which your servlet engine takes care of. Likewise, the servlet
engine doesn't read the .htaccess file because it is an Apache
configuration file and it doesn't know anything about that. I guess
you're stuck with putting it all in httpd.conf...


Regards,
/Kell Sønnichsen
--
>>  Kell Soennichsen, UNI-C, Olof Palmes Alle 38, DK-8200 Aarhus N.  <<
>>  phone: +45 8937 6666 / +45 8937 6674, fax: +45 8937 6677         <<
>>  email: [EMAIL PROTECTED], http://www.uni-c.dk             <<
>>     The two most common elements in the universe are hydrogen     <<
>>     -- and stupidity.                       -- Harlan Ellison     <<

___________________________________________________________________________
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