in my personal opinion, what you had is very much what most people would be doing - apache to serve PHP, and tomcat to handle the JSP stuff.
the link mentioned by nizsmo is excellent. to be honest, i never got a chance to finish going thru the link :(
in the 2nd part -- you could either do a "Redirect".
Redirect / http://www.comecompany.com
in the global server config, or the Vhost container for www.somecompany.com. This however, would cause the URL in the client web browser to change
from http://www.somecompany.com
to http://www.somecompany.com
another method is to use apache proxy module (http://httpd.apache.org/d
Specifically ProxyPass and ProxyPassReverse:
http://httpd.apache.org/do
http://httpd.apache.org/do
--
ProxyPass / http://www.somecompany.com
ProxyPassReverse / http://www.somecompany.com
in the Apache global configuration (if you do not have vhost), or in the Vhost container for www.somecompany.com.
cheers.
Main Topics
Browse All Topics





by: nizsmoPosted on 2007-10-06 at 13:51:23ID: 20028437
So what we want is to configure apache to locate PHP pages within JSP web context and handling all PHP request while letting TOMCAT handle all other requests.
/Article/3 2110/0/pag e/2
http://www.devx.com/webdev
The above will show you just how to do that, there's also 3 ways of going about doing it, all mentioned in the article.
Let me know how you go.