httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Homsher, Dave V." <Dave.Homs...@mactac.com>
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
"html". 
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/foo.bar"		# compiles but
doesn't work
AliasMatch "[^.html.]$" "/new/location/foo.bar"		# ditto
AliasMatch "[^[.html.]]$" "/new/location/foo.bar"	# error: can't
compile regexp
AliasMatch "[^(html)]$" "/new/location/foo.bar"		# doesn't work

any ideas?

Thanks
Dave Homsher
MACtac IT

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