This is my httpd.conf file.

LoadModule jk_module /usr/lib/apache2/modules/mod_jk-1.2.27-httpd-2.2.6.so


JkStripSession On

JkMount /*.jsp loadbalancer
JkMount /*.jsf loadbalancer

# JkMount /*.jsp ajp13
# JkMount /*.jsf ajp13

JkWorkersFile workers.properties
JkShmFile     /var/log/httpd/mod_jk.shm
JkLogFile /opt/apache2log/mod_jk.log

JkLogLevel    info

# JkLogLevel    debug

JkOptions     +ForwardURIEscaped
JkOptions     +ForwardDirectories

FileETag None

ExpiresDefault "access plus 4 weeks"

# 480 weeks
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=490304000, public"
</FilesMatch>

ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000



-- 
View this message in context: 
http://www.nabble.com/How-do-I-host-multiple-websites-with-Apache2-and-Tomcat-Cluster----tp23239694p23239712.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to