[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tomcat, Apache e iptables, convivenza possibile?



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


Ma ancora non funziona, non riesco a visualizzare la cartella examples...


Reply to: