Enrico La Cava ha scritto:
Ecco la configurazione in httpd.conf
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module /etc/apache2/modules/mod_jk.so
# Declare the module for <IfModule directive> (remove this line on
Apache 2.x)
# Where to find workers.properties
# Update this path to match your conf directory location (put
workers.properties next to httpd.conf)
JkWorkersFile /etc/apache/workers.properties
# Where to put jk shared memory
# Update this path to match your local state directory or logs directory
JkShmFile /var/log/httpd/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 /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel error
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /examples/* worker1
E il file workers.properties
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/lib/jvm/java-1.5.0-sun
ps=/
worker.list=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.type=ajp13
il mio è un pò più sintetico
-----------------
worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=127.0.0.1
worker.testWorker.type=ajp13
-----------------
hum.... ma tu nel file del worker hai "worker.list=ajp13" e poi in
httpd.conf "JkMount /examples/* worker1" io con il connettore mi ci
incarto sempre ma credo debba avere lo stesso nome da tutte e due le
parti (così è nella mia configurazione).
in ogni caso prova a guardare /var/log/httpd/mod_jk.log magari imposta
JkLogLevel debug
per adesso, poi rimetti error
Ma ancora non funziona, non riesco a visualizzare la cartella examples...
ciao
Edoardo
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]