Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-20 Thread Rich Bowen
On Mar 19, 2012, at 4:53 PM, 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.c

Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Joe Hansen
Hey Mario, Thanks so much for replying. I found line in the httpd-ssl.conf file. I added Redirect / https://www.b.com I restarted Apache but when I visit https://a.com, the browser doesn't redirect me to b.com. I am lost! :( Thanks, Shashi On Mon, Mar 19, 2012 at 5:21 PM, Mario A. del Riego

Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Mario A. del Riego
I must add this redirect to the VirtualHost's SSL. You need to know where its added, if you type: apachectl -S will see something like: [...] *:443is a NameVirtualHost default server localhost (/etc/httpd/conf.d/ssl.conf:12) [...] In this file you have to do it. Search for something "" an

Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Joe Hansen
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 wrote: > On 03/19/2012 21:53, Joe Hansen wrote: > > Hi All, > > I'd like to redirect al

Re: [users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Julien Cigar
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:

[users@httpd] How to redirect all requests for domain A to domain B

2012-03-19 Thread Joe Hansen
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 Though all the http requests are correctly getting redirected, https reque