-
1. Re: Apache, Tomcat, Jakarta and disable port 8080
dsnyckers Oct 8, 2002 5:00 AM (in response to steven.ellis)I have the same problem?
I'm using a proxy (proxy module) but the idea is the same I think. In my httpd.conf I have added the next lines :
<Proxy *>
Order deny,allow
Deny from all
Allow from all
ProxyPass /tpc http://localhost:8080/tpc/
ProxyPassReverse / http://localhost:8080/
this makes sure that when I enter http://hostname/tpc , this is automatically redirected to tomcat. But just as steven, I want to disable the access to http://hostname:8080/tpc because of security reasons.
How is this possible? Can you block access to 8080 from outside in your apache configuration file?
Regards,
Dave -
2. Re: Apache, Tomcat, Jakarta and disable port 8080
davecrane Oct 8, 2002 7:54 AM (in response to steven.ellis)Under a standalone tomcat, you would edit the server.xml file and remove one of the tags. I think the standard server.xml that ships with tomcat includes one for standalone on port 8080 and one for ajp connection through to apache.
Not sure whether this applies to the JBoss-hosted tomcat, but should get you started.
Dave