httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Channel <jchann...@gmail.com>
Subject [users@httpd] Re: RewriteRule under JkMount location and server variables
Date Fri, 01 May 2009 14:34:08 GMT
This give me what i want:

    <Directory "/opt/public_html">
        Options Indexes FollowSymLinks Includes
        RewriteEngine On
        RewriteRule ^book/index.my.* ssi/test.shtml [L]
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Location /book/>
        SetHandler jakarta-servlet
        SetEnv JK_WORKER_NAME balancer
        SetEnvIf SCRIPT_NAME !"^/book" no-jk
    </Location>

Looks like a cheat, but working =)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message