After reading and trying the setting from this page. I would like to ask some 
questions.
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html

-------------------------
In {Tomcat Home}\conf\server.xml, if I added these tags:
<Host name="A" appBase="{path of A}" unpackWARs="true" autoDeploy="true" xmlValidation="false" 
xmlNamespaceAware="false" reloadable="true">
<Context path="/manager" debug="0" privileged="true" 
docBase="${catalina.home}/server/webapps/manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" 
allow="201.33.158.124"/>
</Context>
</Host>
<Host name="B" appBase="{path of B}" unpackWARs="true" autoDeploy="true" xmlValidation="false" 
xmlNamespaceAware="false" reloadable="true">
<Context path="/manager" debug="0" privileged="true" 
docBase="${catalina.home}/server/webapps/manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" 
allow="201.22.144.33"/>
</Context>
</Host>
Assume I gave them the same user name and password which came from my 
tomcat-users.xml file, if they came from different, fixed
IP address, I can use the 'RemoteAddrValve' in this way. My question is in some 
case if several users came from same IP or
same host name, how can I force them to access their own web apps manager page? Can I 
assign different user name and pass for different <Host>??

Thx for your suggestion if there is any.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to