httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Homsher, Dave V." <>
Subject [users@httpd] aliasmatch negated class regexp
Date Thu, 04 Mar 2004 13:50:50 GMT
I'm hoping someone can help here.

I am trying to do an alais match that matches on requests that do not end in
I have tried perl syntax, POSIX 1003.2 syntax, and several of my own made up
syntaxes ;)

Here is what I have tried to no avail:

AliasMatch "[.^html.]$" "/new/location/"		# compiles but
doesn't work
AliasMatch "[^.html.]$" "/new/location/"		# ditto
AliasMatch "[^[.html.]]$" "/new/location/"	# error: can't
compile regexp
AliasMatch "[^(html)]$" "/new/location/"		# doesn't work

any ideas?

Dave Homsher

Those who cannot conceive a happiness of their own accept a definition
imposed upon them by others.
-- Earl Shorris 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message