tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabiano Rech <fabianor...@gmail.com>
Subject Problem in mod_jk.conf
Date Thu, 09 Jun 2005 21:01:07 GMT
Hi all, I installed apache2+tomcat+modjk in solaris 10, I configured
based in cookbook from the site:
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html 
The connector is works well, but using virtual host, the apache direct
for the directory
/usr/local/tomcat/webapps/ROOT. how I can redirect to /opt/myapp/html?

This is my mod_jk.conf:


----------Begin mod_jk.conf--------------------------------
LoadModule jk_module libexec/mod_jk.so

JkWorkersFile /opt/csw/share/tomcat5/conf/workers.properties

JkLogFile /opt/csw/apache2/logs/mod_jk.log

JkLogLevel info

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

JkRequestLogFormat "%w %V %T"

<VirtualHost *:80>
      ServerName www.teste2.net
      DocumentRoot /opt/myapp/html
      Alias /conces /opt/myapp/html/
      <Directory "/opt/myapp/html">
          Options Indexes MultiViews
          AllowOverride None
          Order allow,deny
          Allow from all
      </Directory>
      JkMount /* worker1
</VirtualHost>

-------------------------End mod_jk.conf----------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message