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
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
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
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
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: