----------------------------------------------------------------
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 am new to apache-g server.
I have a problem regarding the basic authentication using the apache-g
server.
I have added the necessary .htaccess file in the directory containing
the html files.
The  authentication is working perfectly fine when I load any of the
html files from
that directory.
The problem which I have got is that when an html file generated by
servlet is loaded on the browser, the authentication feature fails.
Please suggest a remedy so that I can use the basic authentication
feature for an servlet directory.
The details are:
OS: Solaris Unix on Sun OS
JDK : 1.2.2
Browser:Netscape

The .htaccess file in the servlet directory is as follows
<Location  /usr/apache-g/htdocs/WebPages/Servlets/Admin >
AuthUserFile /WebPages/Servlets/Admin/passwd
AuthGroupFile /dev/null
AuthName "Users only"
AuthType Basic

require user pavank
</Location>

The AllowOverride tag in the httpd.conf file is set to all and I have
also tried by setting the above Location tag to the same values in the
httpd.conf file also.
Please help me find a way to authenticate the servlets.
Thanking you all in anticipation.

regards
Hiren Shah



--
--------------------------------------------------------------
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]

Reply via email to