[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Controlling access web apps
erasmomarciano
do-not-reply at jboss.com
Mon May 12 05:01:12 EDT 2008
check the server.xml, you will find the tag is already been configured.
Exmaple
<Host name="testerasmo2"
| autoDeploy="false" deployOnStartup="false" deployXML="false"
| configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
| >
| <Alias>www.test.it</Alias>
| <Valve className="org.apache.catalina.valves.RemoteAddrValve"
| deny="10.xx.xx.xx"/>
|
| <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
| cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
| transactionManagerObjectName="jboss:service=TransactionManager" />
|
| </Host>
You have to use the host tag that matches the url (ww.test.it)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150060#4150060
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150060
More information about the jboss-user
mailing list