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 [EMAIL PROTECTED]
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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]