jk2.conf -->
JkSet config.file "/etc/apache2/properties/workers2.properties"
httpd.conf -->
ServerName 192.168.1.2
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/tomcat/webapps/ecommerce
ErrorLog /usr/local/tomcat/webapps/ecommerce/logs/error_log
CustomLog /usr/local/tomcat/webapps/ecommerce/logs/access_log common
<LocationMatch ".*WEB-INF.*">
AllowOverride None
Deny from all
</LocationMatch>
</VirtualHost>
And, workers2.conf -->
# only at beginnin. In production uncomment it out
[logger.apache2]
level=DEBUG
[shm]
file=/var/log/apache2/shm.file
size=1048576
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/*.jsp]
context=/ecommerce
I don't know Why it doesn't work correctly?
Thanks.
--
View this message in context:
http://www.nabble.com/tomcat-JSP-Servlet-Apache-JK2-tf2071029.html#a5705067
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]