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 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Joshua Slive
Envoyé : vendredi 28 septembre 2007 22:40
À : users@httpd.apache.org
Objet : Re: [EMAIL PROTECTED] Basic mod_rewrite help

On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote:
>
>
>
> On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote:
>
> > On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to