httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: [users@httpd] Location matching
Date Tue, 04 May 2004 14:19:48 GMT


> -----Original Message-----
> From: Rando Christensen [mailto:eyez@illuzionz.org]
> Sent: Tuesday, May 04, 2004 9:10 AM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Location matching
> 
> On Mon, 3 May 2004 10:08:39 -0400, jeffrey_n_Dyke@Keane.com wrote:
> 
> > How about something like.....
> > <LocationMatch "/([^aa]|[^bbb]|[^cc])/(.+)">
> >
> >
> > disclaimer: - I'm not proficent at mod_rewrite , i'm thinking more from
a
> > PCRE viewpoint....
> >
> 
> Just to mention, this doesn't do what is wanted: the regex is
> essentially the same as if you did:
> 
> "/([^abc])/(.+)"
> 
> Which matches any one character that's not a, b, or c.
> 

That's what I was thinking although I did not have time yesterday to try it
out. The ^ within [] means "none of these characters". It doesn't matter how
they are grouped.

Thanks,
Charlie


> --
> < Rando Christensen | eyez@illuzionz.org >
> 
> ---------------------------------------------------------------------
> 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