I'm sorry to bother you with this, but I am totally stumped.
Our web server at work is running Apache 2. I was asked to write a web app (uses servlets) for work and in order to run it, I need to install Tomcat 5. I want the normal website to still be handled by Apache and for anyone who types http://www.thisisanexample.com/someServlet to get sent to that respective servlet which would be handled by Tomcat. Does anyone know how to configure my various files (server.xml for Tomcat or httpd.conf for Apache) appropriately or can point me in the right direction? I can't seem to get it right and I've checked the Jakarta documentation and it's not too useful to me. Apache is running fine, but the servlets that run through Tomcat can still only be accessed on the local machine through http://localhost:8080 and not remotely.
(Is this a dumb idea? Someone told me I should just use Tomcat as the server for everything(servlets, html, etc.) If I have a pretty low traffic, plain ol' HTML and images site with a dash of PHP, is it a decent idea to ditch Apache HTTP and just use Tomcat?)
I'm sorry I'm so clueless. Thank you so much :D
Our web server at work is running Apache 2. I was asked to write a web app (uses servlets) for work and in order to run it, I need to install Tomcat 5. I want the normal website to still be handled by Apache and for anyone who types http://www.thisisanexample.com/someServlet to get sent to that respective servlet which would be handled by Tomcat. Does anyone know how to configure my various files (server.xml for Tomcat or httpd.conf for Apache) appropriately or can point me in the right direction? I can't seem to get it right and I've checked the Jakarta documentation and it's not too useful to me. Apache is running fine, but the servlets that run through Tomcat can still only be accessed on the local machine through http://localhost:8080 and not remotely.
(Is this a dumb idea? Someone told me I should just use Tomcat as the server for everything(servlets, html, etc.) If I have a pretty low traffic, plain ol' HTML and images site with a dash of PHP, is it a decent idea to ditch Apache HTTP and just use Tomcat?)
I'm sorry I'm so clueless. Thank you so much :D
