----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Ramesh Varadarajulu wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hi all,
>
> I have a problem with getting authenticated for servlet directory.
> whereas I can able to do authentication for htdocs and cgi-bin
> directory.
> My servlet directory is /opt/servlets and I gave the following
> configuration in httpd.conf:
>
> <Directory "/opt/servlets" >
>
> AllowOverride AuthConfig
> Order allow,deny
> Allow from all
>
> </Directory>
>
> I have copied .htaccess file into /opt/servlets directory. but when I
> try to access this directory as http://<hostname>/servlets/IsItWorking
> it doesn't asking me for authentication. What could be the reason.
>
> Thanks for help
>
>
this is working here (in httpd.conf) :
<Location /servlet>
AuthName "restricted area on ma-planete.net"
AuthType Basic
AuthUserFile /usr/local/apache/conf/htusers
<Limit GET POST PUT>
require valid-user
</Limit>
</Location>
jluc
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]