Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created October 24, 2010 18:26
Show Gist options
  • Save thesurlydev/643797 to your computer and use it in GitHub Desktop.
Save thesurlydev/643797 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