httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Hansen <joe.hansen...@gmail.com>
Subject Re: [users@httpd] How to redirect all requests for domain A to domain B
Date Mon, 19 Mar 2012 21:19:25 GMT
Julien, I appreciate the reply, but I need a redirect. I do not want the
content on b.com to appear on a.com. So ServerAlias will not work for me.

Thanks,
Joe.

On Mon, Mar 19, 2012 at 3:14 PM, Julien Cigar <jcigar@ulb.ac.be> wrote:

>  On 03/19/2012 21:53, Joe Hansen wrote:
>
> Hi All,
>
>  I'd like to redirect all (http and https) requests for domain a.com to
> domain b.com.
>
>  I have the following in the apache config files:
>  Redirect https:/a.com https://www.b.com
>  Redirect http://a.com http://www.b.com
>
>
>
> You can also use the ServerAlias directive
>
>
>
>  Though all the http requests are correctly getting redirected, https
> requests aren't. What do I need to do to get this working?
>
>  Thanks,
> Joe
>
>
>
>

Mime
View raw message