Sury Balasubramanian wrote:
Hello all,
I am having trouble with Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6
OpenSSL/0.9.8g mod_autoindex_color mod_jk/1.2.26 PHP/5.2.5 redirecting
tomcat requests to the tomcat worker. I am getting an 404 when i try to
access any tomcat url..http://leonardo/examples (for e.g.)
My webdav works ok, the php modules work ok but mod_jk doesn't seem to work.
The following snippet is added to httpd.conf (right after the modules
section).
LoadModule jk_module modules/mod_jk.so
# Where to find workers.properties
# Update this path to match your conf directory location (put
workers.properties next to httpd.conf)
JkWorkersFile "C:/xampp/apache/conf/workers.properties"
# Where to put jk shared memory
# Update this path to match your local state directory or logs directory
JkShmFile "C:/xampp/apache/logs/mod_jk.shm"
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log
next to access_log)
JkLogFile "C:/xampp/apache/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /msnew/* worker1
JkMount /examples/* worker1
All these paths are valid. The worker.properties is a very standard file
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
Any ideas on why this will give a 404 error? The mod_jk.log just says that
the module is initialized...
If you have VirtualHost inside your httpd configuration, you need to put
the JkMount into the correct VirtualHost (or use JkMountCopy).
If this doesn't help, increase log level to debug, do a single request
and have a look the the log file.
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]