----------------------------------------------------------------
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 Michael,
Since servlet is a repository and not a directory for apache jserv ,
so a directory based authentication
using
<directory "somedirectory">
AllowOverride None
<LIMIT GET POST>
Allow From All
AuthType Basic
AuthUserFile "f:\Access\admins\.htaccess"
AuthName "Http Server Administration"
Require valid-user
</LIMIT>
</DIRECTORY>
will not work
so please use the folowing
<Location /ApacheAdmin>
AllowOverride None
<LIMIT GET POST>
Allow From All
AuthType Basic
AuthUserFile "f:\Access\admins\.htaccess"
AuthName "Http Server Administration"
Require valid-user
</LIMIT>
</Location>
Here in <Location /ApacheAdmin> "/ApacheAdmin" is the URL
you want to have http authentication.
Please do the changes in httpd.conf and send me the output.
This is called as location based http authentication
with regards
guru
----------------------------------------------------
Gurumoorthy Raghupathy
Cisco Projects
Zensar Technologies
Pune India
Hello : 6684001/2/3 Ext : 626/616
Email : [EMAIL PROTECTED]
Email : [EMAIL PROTECTED]
--------------------------------------------------
-----Original Message-----
From: Michael Hecker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 9:41 PM
To: [EMAIL PROTECTED]
Subject: using htaccess authentication not possible
----------------------------------------------------------------
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,
when using JServ and accessing servlets via e.g. /servles/myServlet, the
htaccess rule is not working.
For all other documents in / the user has to enter his password except
for /servlet. Why?
I added the AllowOverride Rule to a) /
and b) /servlets
Thanks.
I'm running JServ 1.1.2 on Apache 1.3.17.
--
Sent through GMX FreeMail - http://www.gmx.net
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]