Michael Trabjerg wrote:
Hi

Info: Tomcat 7.0.27 x64  running on Windows 2008 R2

Tomcat 6 allowed me to restrict access to Tomcat for more than one IP
address, but it does not seem to work on Tomcat 7.0.27.

Usually this worked: <Valve
className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.0\.0\.1\, 192\.168\.12\.22, 192\.168\.12\.23"/>

Now I can only make to following work  <Valve
className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.0\.0\.1"/>


I believe you need to re-read the on-line docs.
It is probably indicated there that this should be a regexp, not a list of 
regexpes.
So try something like "(127\.0\.0\.1\|192\.168\.12\.22|192\.168\.12\.23)"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to