httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [users@httpd] RedirectMatch - http://host/xyz[/abc] => http://xyz.host/[abc]
Date Fri, 17 Aug 2012 14:23:07 GMT
On 17 August 2012 15:02, Eric Covener <covener@gmail.com> wrote:
>> The following works
>>
>> RedirectMatch ^xyz(.*) http://xyz.host$1
>>
>> but suffers from the problem that
>>
>> http://host/xyz123
>
> maybe RedirectMatch ^xyz(/.*)? http://xyz.host$1

That won't match

http://host/xyz

which should redirect to

http://xyz.host/

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

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


Mime
View raw message