You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/05/01 13:32:46 UTC

Re: [users@httpd] RewriteRule under JkMount location and server variables

On Fri, May 1, 2009 at 7:15 AM, J Channel <jc...@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


Re: [users@httpd] RewriteRule under JkMount location and server variables

Posted by J Channel <jc...@gmail.com>.
> It's ignored because when you proxy content, it doesn't come from any
> on-disk directory. The enclosed directives are not applicable.

Really? I dont know about it and already build site on this not
applicable feature and serve it with apache 1.3 for years.
Thanks, you open my eyes =))

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