I use this in the httpd.conf file:

<Location /webapp-info>
       AuthType Basic
       AuthName MyRealm
       LDAPAuth On
       LDAPBase o=MyComp.com
       LDAPServer ldap://ldap:389/
       LDAPuseridAttr uid
       LDAPSearchMode subtree
       require valid-user
</Location>

Regards

Jim.

> -----Original Message-----
> From: mech [mailto:[EMAIL PROTECTED]]
> Sent: 18 November 2002 15:33
> To: 'Tomcat Users List'
> Subject: RE: Who can help ???
> 
> 
> Think that won't work because Apache sends the request to 
> Tomcat without
> checking any access file from Apache side.
> 
> Checkout the examples webapp from Tomcat and have a look at the
> /jsp/security/ directory. 
> Have a look into the examples webapp's web.xml file for the 
> realm setup
> (also see tomcat documentation for realm howto). 
> You can set users, roles and passwords within tomcat-user.xml 
> in /conf/
> directory.
> 
> Hope that gives you some hint where to look for.
> 
> mech
> 
> > -----Original Message-----
> > From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] 
> > Sent: Montag, 18. November 2002 16:34
> > To: Tomcat Users List
> > Subject: Re: Who can help ???
> > 
> > 
> > Did you try using the '.htaccess' from apache?
> > 
> > Manav.
> > ----- Original Message -----
> > From: "Jean-Luc BEAUDET" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>; 
> > "tomcat-user" <[EMAIL PROTECTED]>
> > Sent: Monday, November 18, 2002 8:52 PM
> > Subject: Who can help ???
> > 
> > 
> > >      Hi all,
> > >
> > > Runnin' Tomcat 4.0.2 and Apache 1.3.26 on SOLARIS 8 in Production.
> > >
> > > I'd like to get /webapp-info/ secured by login/password - 
> > even BASIC - 
> > > when asked by
> > >
> > > http://my.sever.com/webapp-info/
> > >
> > > Any help welcome.
> > >
> > > Jean-Luc B :O)
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: 
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: 
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to