httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morse, Richard E.MGH" <REMO...@PARTNERS.ORG>
Subject [users@httpd] Apache 2.2 RedirectMatch url behaviour in a Directory context?
Date Fri, 10 Feb 2012 16:18:25 GMT
Hi! I was wondering if RedirectMatch did any stripping of the URL when in a Directory context?

According to the documentation, a Rewrite rule does have the URL stripped so that it starts
with the directory, but the documentation doesn't say whether or not this also happens for

I ask because I would like to anchor the front of my regex if possible, but I don't know exactly
what the prefix above my directory is going to be. Tests seem to indicate that the prefix
isn't stripped, but I wanted to check and see if there was something I was missing.


	RedirectMatch ^/foo/([a-z-]+)$$1


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

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