Click to See Complete Forum and Search --> : apache tomcat vs. apache
Fatal Error
03-19-2008, 06:13 PM
I've been working with php on apache, and now I want to start adding servlets to my website. What I need to know is weather or not tomcat has the apache equivalent of an httpd.conf file that I can use to change settings. If there is, where is it, and if there isn't, how do I change tomcat settings?
TY
chazzy
03-19-2008, 09:50 PM
Apache's HTTPd and Apache Tomcat are two completely separate entities. Things aren't as black and white in tomcat as they are in httpd, so no, there is no single file containing all of this information. Similar information is broken up into different regions of the system
- $CATALINA_HOME/conf contains all server level information
- $app_base/web-inf/web.xml contains all application specific information.
wilson80s
03-30-2008, 03:20 PM
If you want to serve both php and servlets. you can use apache+resin/jrun4/tomcat/ect.
just need to change/add some configuration in both.