Hi there, my Tomcat setup is as follows :
app1 : Setup in its own service with a normal HTTP connector listening on port 8080 and an HTTPS connector listening on port 8443.
app2 : Setup in its own service with a normal HTTP connector listening on port 8081.
My intended goal is to allow only HTTPS access to app1 externally and normal HTTP access to app1 internally (by redirecting port 80 requests to 8081 on our firewall), this would also allow external access to app2 on port 80.
I had assumed that due to the structure of web.xml (ie. a Connector is defined within a Service) that anything picked up by the 8081 connector would be restricted to the app2 Context only, this does not seem to be the case as I can access both app Contexts using any of the 3 connectors :-(
If anyone else has experienced this problem or indeed found a workaround I would be most appreciative. Thanks in advance.
Ronny.
app1 : Setup in its own service with a normal HTTP connector listening on port 8080 and an HTTPS connector listening on port 8443.
app2 : Setup in its own service with a normal HTTP connector listening on port 8081.
My intended goal is to allow only HTTPS access to app1 externally and normal HTTP access to app1 internally (by redirecting port 80 requests to 8081 on our firewall), this would also allow external access to app2 on port 80.
I had assumed that due to the structure of web.xml (ie. a Connector is defined within a Service) that anything picked up by the 8081 connector would be restricted to the app2 Context only, this does not seem to be the case as I can access both app Contexts using any of the 3 connectors :-(
If anyone else has experienced this problem or indeed found a workaround I would be most appreciative. Thanks in advance.
Ronny.