httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-Stéphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] Basic mod_rewrite help
Date Mon, 01 Oct 2007 08:28:44 GMT
If I may inject a related question here, I was recently surprised to discover the order in
which rewrite rules are evaluated when using "RewriteOptions inherit" in a VH. It seems like
the rewrite rules included in the VH are evaluated before the ones that are inherited.

Is that correct?
Is there any way to control this behaviour?


-ascs
 
-----Message d'origine-----
De : jslive@gmail.com [mailto:jslive@gmail.com] De la part de Joshua Slive
Envoyé : vendredi 28 septembre 2007 22:40
À : users@httpd.apache.org
Objet : Re: [users@httpd] Basic mod_rewrite help

On 9/28/07, Israel Brewster <israel@frontierflying.com> wrote:
>
>
>
> On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote:
>
> > On 9/28/07, Israel Brewster <israel@frontierflying.com> wrote:
> >
> >> which came with the default install. In order to implement the 
> >> desired changes, I added the following lines:
> >
> > WHERE exactly did you add the lines?
>
> Oh, right, sorry, should have mentioned that. I inserted these lines 
> at the end of the config file, outside of any configuration blocks.

If the requests are being served by <VirtualHost>s, then you'll need to read http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#vhosts
(or simply place the directives inside the relevant <VirtualHost> block).

Joshua.

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


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