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] Unconditional Redirect?
Date Sat, 28 Apr 2012 15:25:45 GMT
On Sat, Apr 28, 2012 at 11:16 AM, Waldemar Klein
<waldemar.klein7@googlemail.com> wrote:
> Hello.
>
>
> I'm looking for a way to unconditionally Redirect. This is used in an
> <If ..> construct, so my condition is checked already. I use this in a
> (normal, forward, not reverse) Proxy configuration, which handles http
> and https requests.
>
> I already tried "RedirectMatch .* http://my.new.url.here" which works
> fine for http requests, but not for https. (My guess is, the URL-path
> is empty or NULL, and that's why the match doesn't work). What happens
> here is that i get errors when i was supposed to get to
> http://my.new.url.here.
>
What errors exactly?

> Maybe there is another Directive i overlooked, or another way to use
> RedirectMatch that would work in that case?

Redirect and RedirectMatch should work fine.  There should never be an
empty URL for either.

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


Mime
View raw message