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
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=
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