[jboss-user] [Beginner's Corner] New message: "Re: Configure webapp to accept requests only from a specific port"
y lp
do-not-reply at jboss.com
Mon Mar 8 21:05:50 EST 2010
User development,
A new message was posted in the thread "Configure webapp to accept requests only from a specific port":
http://community.jboss.org/message/530664#530664
Author : y lp
Profile : http://community.jboss.org/people/ylp_1
Message:
--------------------------------------------------------------
in jboss ,you can use Remote Host Valve to control.
like host http://www.jboss.org ,you can config it analysis as http://x.x.x.x:9000
server.xml
<Engine name="jboss.web" defaultHost="localhost">
<Host name="localhost"
autoDeploy="false" deployOnStartup="false" deployXML="false">
<Valve className="org.apache.catalina.valves.RemoteHostValve"
allow="*http://www.jboss.org/"/>
</Host>
</Engine>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530664#530664
More information about the jboss-user
mailing list