Hi,
I tried the location directive but that also doesn't seem to help. I also
found that the .htaccess file is not read at all because when I give a
wrong AuthUserFile there was no complaint in error.log file.
Thanks,
Devesh.
> Hi,
>
> I am using Apache Webserver ver 1.3.4 for Windows and JServ 1.0.x.
>
> I am facing problems in having directory based user authentication.
>
> I am able to acheive this for all directories but not for the directories
> which are my servlet zones. I have my servlets under /servlets and wish
> to authenticate users if they request for URL which contains /servlets/.
> I have placed the .htaccess file in my servlets directory but whenever
> the URL */servlets/* is requested the concerned servlet gets executed
> without asking for user-name and password.
>
> How can I acheive directory based authentication for servlet zones too.
>
> Thanks in advance,
>
> Devesh.
>
Use a <LOCATION> directive in your Apache configuration file, and you can set
authentication on servlet URI paths too.
Craig McClanahan
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]