httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "António Rafael Paiva" <a20...@alunos.det.ua.pt>
Subject Re: [users@httpd] Negate expression
Date Thu, 08 May 2003 17:42:50 GMT
Thanks, it working now!

Rafael

On Thu, 8 May 2003 13:34:59 -0400 
(=?ISO-8859-1?Q?Est_=28heure_d'=E9t=E9=29?=)
  Joshua Slive <joshua@slive.ca> wrote:
> 
> On Thu, 8 May 2003, António Rafael Paiva wrote:
> > <LocationMatch "/(!file).php">
> >    SetOutputFilter LAYOUT .html .php
> > </LocationMatch>
> 
> I'm not really a regex expert, but I would try something 
> like this:
> 
> <LocationMatch "(?<!file)\.[^.]+$">
> 
> See http://www.perldoc.com/perl5.8.0/pod/perlre.html and
> http://www.pcre.org/ for information on apache's regex 
> engine (PCRE).
> 
> Normally I would suggest just using mod_rewrite for a 
> task like this.
> But I don't believe mod_rewrite has the capability to 
> set filters at the
> moment.  Probably should be added.
> 
> 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
> 

----------------------------------------------------
António Rafael C. Paiva
Electronics and Telecommunications Dep.
Aveiro University

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