httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] RedirectMatch - http://host/xyz[/abc] => http://xyz.host/[abc]
Date Fri, 17 Aug 2012 14:30:37 GMT
>> maybe RedirectMatch ^xyz(/.*)? http://xyz.host$1
>
> That won't match
>
> http://host/xyz

question mark was part of the regex not punctuation, but not sure the
redirect w/o trailing slash is okay.

rejiggered to always have the trailing slash:

RedirectMatch ^xyz/?(.*) http://xyz.host/$1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message