What specifically is "wrong"? Why are the pages being served without being compiled?
Thanks, - Dave Konstantin Kolinko wrote: > > 2010/4/15 laredotornado <laredotorn...@gmail.com>: >> >> 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? >> > > Yes, your configuration is wrong. > > Have you read the manuals, I mean the proper ones at > http://tomcat.apache.org/ ? > > There should be a warning somewhere, that you must not point Apache to > your Tomcat appbase. (Pointing it to your ROOT application is a lesser > "crime", but still similar to the original one). > >> >> 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 (...) >> >> I am successfully able to access JSP content in other webapps directories >> other than ROOT. Thanks, - Dave >> > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Trouble-accessing-content-in-webapps-ROOT-tp28256603p28258290.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org