>Rodent of Unusual Size wrote:
>>
>> I just realised that mod_rewrite has a fairly significant
>> deficiency: since it uses '%' and '$' for its own purposes
>> in signalling substitution, there does not appear to be any
>> way to include these characters explicitly in the rewritten
>> string.
>

Just while we're on the mod_rewrite subject, could a directive be added to
control what way inheritance is handled?

When using

RewriteOptions inherit

within a <virtualhost> the rules in the virtualhost appear to be run first,
THEN the rules inherited from the parent.

So if you have a catch-all rule at the end of the virtualhost container,
any rewrite rules in the parent are ignored.

My http.conf file would be a LOT smaller if I could ask mod_rewrite to
parse the inherited rules BEFORE the ones in the virtualhost.

something like

RewriteOptions inherit parentfirst

or suchlike.

I tried using an inherited rule allowing a single robot.txt file to be used
throughout an entire 1000+ virtual host setup, but it didn't work for any
hosts that had a

RewriteRule /.* blah

within them.



-- 
Andrew P. Gardner
barcelona.com stolen, stmoritz.com stays. What's uniform about the UDRP?
We could ask ICANN to send WIPO a clue, but do they have any to spare?
Get active: http://www.domain-owners.org http://www.tldlobby.com

Reply via email to