Re: [us...@httpd] conf file: changing domains

2009-05-11 Thread Matus UHLAR - fantomas
On 09.05.09 09:33, Igor Cicimov wrote: Ups, this directive (and just that one): Redirect permanent .* http://www.b-of-a.com shouldn't it better be: Redirect permanent / http://www.b-of-a.com/ ? The former causes forgetting the path. should be used in the VirtualHost section for the old

[us...@httpd] conf file: changing domains

2009-05-08 Thread kp_stv
This has probably been asked before, but I'm not sure how to search for it in the archives. I have an Apache server, and a domain name. Now, my domain name changes. The web pages content does not change, only the domain. As an illustrative example, lets say that it used to be

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Evan Platt
At 03:58 PM 5/8/2009, you wrote: This has probably been asked before, but I'm not sure how to search for it in the archives. I have an Apache server, and a domain name. Now, my domain name changes. The web pages content does not change, only the domain. As an illustrative example, lets say

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Igor Cicimov
Maybe something like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.merill-lynch\.com$ RewriteRule .* http://www.b-of-a.com [R=301,L] or RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.merill-lynch\.com$ Redirect permanent .* http://www.b-of-a.com Cheers, Igor On Sat, May 9, 2009 at

Re: [us...@httpd] conf file: changing domains

2009-05-08 Thread Igor Cicimov
Ups, this directive (and just that one): Redirect permanent .* http://www.b-of-a.com should be used in the VirtualHost section for the old domain. Sorry for the confusion copy-paste mistake from one of my config files :) On Sat, May 9, 2009 at 9:25 AM, Igor Cicimov icici...@gmail.com wrote: