RE: Basic mod_rewrite help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx [mailto:jslive@xxxxxxxxx] De la part de Joshua Slive
Envoyé : vendredi 28 septembre 2007 22:40
À : users@xxxxxxxxxxxxxxxx
Objet : Re:  Basic mod_rewrite help

On 9/28/07, Israel Brewster <israel@xxxxxxxxxxxxxxxxxx> wrote:
>
>
>
> On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote:
>
> > On 9/28/07, Israel Brewster <israel@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux