httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] RewriteRule under JkMount location and server variables
Date Fri, 01 May 2009 11:32:46 GMT
On Fri, May 1, 2009 at 7:15 AM, J Channel <jchannelx@gmail.com> wrote:

>    <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>
>    JkMount /book/* balancer
>
> </VirtualHost>
> But with apache 2.2.11 RewriteRule inside Directory section just
> ignored, so we give tomcat error page on address
> localhost.com/book/index.shtml.

It's ignored because when you proxy content, it doesn't come from any
on-disk directory. The enclosed directives are not applicable.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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