Skip to content

Instantly share code, notes, and snippets.

@rajapaju
Forked from thesurlydev/gist:643797
Created December 7, 2011 16:40
Show Gist options
  • Save rajapaju/1443517 to your computer and use it in GitHub Desktop.
Save rajapaju/1443517 to your computer and use it in GitHub Desktop.
<!-- allow only LAN IPs to connect to the manager webapp -->
<!-- contrary to the current Tomcat 5.5 documation the value for 'allow' is not a regular expression -->
<!-- future versions may have to be specified as 192.168.1.* -->
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.1.*"></Valve>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment