tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk aphowto.xml
Date Wed, 14 Jul 2004 15:06:34 GMT
hgomez      2004/07/14 08:06:34

  Modified:    jk/xdocs/jk aphowto.xml
  Document no-jk env var
  Revision  Changes    Path
  1.26      +35 -0     jakarta-tomcat-connectors/jk/xdocs/jk/aphowto.xml
  Index: aphowto.xml
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk/aphowto.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- aphowto.xml	4 Mar 2004 04:46:34 -0000	1.25
  +++ aphowto.xml	14 Jul 2004 15:06:34 -0000	1.26
  @@ -572,6 +572,41 @@
  +Since mod_jk 1.2.6, and under Apache 2.0, it's possible to exclude some URL/URI from
  +jk processing by setting the env var no-jk, for example with the SetEnvIf Directive.
  +You could use no-jk env var to fix problem with mod_alias or mod_userdir
  +directive when jk and alias/userdir URLs matches. 
  +<note># All URL goes to tomcat except the one containing /home</note>
  +<read>&lt;VirtualHost *:80&gt;
  +<read> ServerName testxxx.mysys
  +<read> DocumentRoot /www/testxxx/htdocs
  +<read />
  +<note># Use SetEnvIf to st no-jk when /home/ is encountered</note>
  +<read>SetEnvIf Request_URI "/home/*" no-jk</read>
  +<read />
  +<note># Now /home will goes to /home/dataxxx/</note>
  +<read>Alias /home /home/dataxxx/</read>
  +<read />
  +<read>&lt;Directory "/home/dataxxx"&gt;</read>
  +<read>  Options Indexes MultiViews</read>
  +<read>  AllowOverride None</read>
  +<read>  Order allow,deny</read>
  +<read>  Allow from all</read>
  +<read />
  +<read>JkMount /* myssys-xxx</read>
  +<read />
   Use the mod_jk <b>JkAutoAlias</b> directive to map all web application context
   into Apache's document space. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message