Annu,

Check the Apache FAQ for information about newsgroups and mailing lists.

http://www.apache.org/docs/misc/FAQ.html

What you are trying to accomplish will require you to setup your Apache
server to use authentication.  It will also require that you properly setup
the .htaccess and .htpasswd files.  The Apache lists/groups/FAQs will help
you along these lines.

You must be asked for a username and password before the getRemoteUser ()
method will return something useful.

Good luck,

Brian

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Annu
Singh
Sent: Friday, June 25, 1999 11:46 AM
To: [EMAIL PROTECTED]
Subject: Remote user information


HI Everyone,

        I have been trying to get a remote user id in a servlet I have
written. I am using the "getRemoteUser()" function but it returns a null. I
was told to configure my Web server to allow user authentication. I tried
doing it but have not been successful in doing so, as after making the
changes mentioned in various docs - I still get a "null" value. (I have
tried using ".htaccess" file, htpasswd command, security.authentication
directive etc ... but did not work for me).

    Has anyone faced this before ? If yes then please do let me know.

  I am using
                Apache 1.3.6, with Apache JServ 1.0b5
                JSDK 2.0
                jdk 1.2
                Solaris 7

    Secondly, is there a mailing list for users of "Apache web server" ?

TIA,
Annu Singh

___________________________________________________________________________
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

___________________________________________________________________________
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