Hi,
I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to use
http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/
directory. However, when I visit http://localhost/index.jsp, I just get the
raw page with all the uncompiled, JSP code. Below is the directive I'm
using in my httpd.conf file. Any thoughts?
<VirtualHost *:80>
ServerName lvcva
DocumentRoot "/Library/Tomcat/Home/webapps/ROOT"
<Directory "/Library/Tomcat/Home/webapps/ROOT">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
JkMount /* ajp13_worker
JkMount /leadtracker ajp13_worker
JkMount /campaigns ajp13_worker
JkMount /tracking/leads ajp13_worker
JkUnMount /myco/* ajp13_worker
JkUnMount /ltourism/* ajp13_worker
JkUnMount /mtourism/* ajp13_worker
JkUnMount /images/* ajp13_worker
JkUnMount /error-pages/*.html ajp13_worker
JkUnMount /*.swf ajp13_worker
# Administer mount implied my wildcard mount above
JkMount /administer/* ajp13_worker
JkMount /search/* ajp13_worker
JkMount /contentSyndication ajp13_worker
ErrorDocument 404 /error-pages/404.html
ErrorDocument 500 /error-pages/500.html
ErrorDocument 503 /error-pages/503.html
</VirtualHost>
I am successfully able to access JSP content in other webapps directories
other than ROOT. Thanks, - Dave
--
View this message in context:
http://old.nabble.com/Trouble-accessing-content-in-webapps-ROOT-tp28256603p28256603.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]