tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeusdi <cabre...@terra.es>
Subject Re: tomcat JSP Servlet Apache JK2
Date Wed, 09 Aug 2006 11:48:23 GMT

Hello,
   mmm, I've compiled and linked and configured mod_jk with Apache 2.0
correctly, but I doesn't work correctly. Mmm, if I access to
http://192.168.1.2 explorer continues show me the code of my JSP, but if I
access to http://192.168.1.2/ecommerce/login.jsp it shows me correctly the
JSP formatted or interpreted as simpe HTML file.

I don't know What more Can I do. Can you say me what do I do wrong?

jk.conf ->

JkWorkersFile "/etc/apache2/properties/workers.properties"
JkLogFile "/var/log/apache2/jk.log"
JkLogLevel debug


workers.properties ->


#
# List workers
worker.list=treb
#
# Define work
worker.treb.tomcat_home=$TOMCAT_HOME
worker.treb.java_home=$JAVA_HOME
worker.treb.port=8009
worker.treb.host=localhost
worker.treb.type=ajp13
worker.treb.cachesize=10
worker.treb.cache_timeout=600
worker.treb.socket_timeout=300
worker.treb.lbfactor=1


And httpd.conf ->

ServerName 192.168.1.2

NameVirtualHost 192.168.1.2

<VirtualHost 192.168.1.2>
        ServerName 192.168.1.2
        ServerAdmin jordi.cabre@grupmicros.com
        DocumentRoot /usr/local/tomcat/webapps/ecommerce
        ErrorLog /usr/local/tomcat/webapps/webshop/logs/error_log
        CustomLog /usr/local/tomcat/webapps/webshop/logs/access_log common
        <LocationMatch ".*WEB-INF.*">
                AllowOverride None
                Deny from all
        </LocationMatch>
        JkMount /*.jsp treb
</VirtualHost>


-- 
View this message in context: http://www.nabble.com/tomcat-JSP-Servlet-Apache-JK2-tf2071029.html#a5724146
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message