Remote address filter for host Alias

2006-01-20 Thread Patricio Keilty
Hi, I need to restrict access to my webapp to some IP adresses on a per-domain name basis. In our tomcat server we are using an Alias/ element to serve both domains from same host as the following config shows: Host name=www.mydomain.com .. Aliaswww-i.mydomain.com/Alias

Re: Remote address filter for host Alias

2006-01-20 Thread Pulkit Singhal
Using RemoteAddrValve as Host/ subelement won't work, as will apply to both, any suggestions? Why not just do: Host name=www.mydomain.com .. Context path= docBase= debug=0 . / /Host Host name=www-i.mydomain.com http://www.mydomain.com/ .. Context path= docBase=

Re: Remote address filter for host Alias

2006-01-20 Thread Patricio Keilty
Pulkit Singhal pulkitsinghal at gmail.com writes: Using RemoteAddrValve as Host/ subelement won't work, as will apply to both, any suggestions? Why not just do: Host name=www.mydomain.com .. Context path= docBase= debug=0 . / /Host Host name=www-i.mydomain.com