Apache - Tomcat FIGHT!

Lance F. Squire lance-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Wed Jun 2 20:08:11 UTC 2004


I have an Apache web server with Tomcat installed.

During a mad scramble to find why the Tomcat wasn't visable from outside 
Imade many modifications the the httpd.conf file. The problem proved to 
be a DNS error somewhere between us and the customer.

Unfortunatly, now ONLY Tomcat can be seen from the server, no regular 
access or even https:// access without the Tomcat error screen.

If I kill the proxypass that should allow other access the Tomcat site 
dissappears!

Here's the relivent sections of httpd.conf:

.....
# Defaults for virtual hosts
NameVirtualHost <Server>:80
.....
<VirtualHost <Server>:80>
         ServerName www.<Site>
         ServerAlias *<Site>
         DocumentRoot /home/<Site Owner>/
         ServerAdmin <Site Owner>
         ProxyPass / http://localhost:8080/<SiteTomcatdir>
         ProxyPassReverse / http://localhost:8080/<SiteTomcatdir>
         ProxyPass /NCCLive http://localhost:8080/<SiteTomcatdir>
         ProxyPassReverse /NCCLive http://localhost:8080/<SiteTomcatdir>
</VirtualHost>
 

.....
ProxyPass /<SiteTomcatdir>/ http://localhost:8080/<SiteTomcatdir>/
ProxyPassReverse /<SiteTomcatdir>/ http://localhost:8080/<SiteTomcatdir>/
 

ProxyPass /<SiteTomcatdir>/ http://localhost:8080/<SiteTomcatdir>/
ProxyPassReverse /<SiteTomcatdir>/ http://localhost:8080/<SiteTomcatdir>/
 

ProxyPass / http://localhost:8080/<SiteTomcatdir>/
ProxyPassReverse / http://localhost:8080/<SiteTomcatdir>/
 

 

I should be able to remove the bottom one, but it breaks everything!

Confused...
Lance

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list