httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Proniewski Patrick <patrick.proniew...@univ-lyon2.fr>
Subject Re: [users@httpd] negative regex in SetEnvIf
Date Fri, 09 Jun 2006 13:29:33 GMT
On 9 juin 06, at 15:18, Joshua Slive wrote:

> I could probably come up with a way to do this with mod_setenvif, but
> when your config crosses a certain level of complexity, it is usually
> easier to just bite the bullet and pull out mod_rewrite.  It has a
> much more flexible config syntax and therefore can sometimes express
> these things much more clearly.

You're right, mod_rewrite is very powerful, but a simple negation of  
a regex doesn't look too complicated for the PCRE engine used by  
Apache. Too bad it's not a valid syntax for Apache.

Patrick PRONIEWSKI
-- 
Administrateur Système - SENTIER - Université Lumière Lyon 2


Mime
View raw message