httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kp_stv <DXWHOTMGL...@spammotel.com>
Subject [users@httpd] Re: conf file: changing domains
Date Mon, 11 May 2009 22:47:42 GMT
I tried Matus suggestion:
Redirect permanent / http://www.b-of-a.com/
but it does not work, unless it matches exactly.
In other words, http://www.olddomain.com/ is replaced by 
http://www.newdomain.com/ as desired, but 
http://www.olddomain.com/about.html (or anything else after the domain 
name) stays as the same.
This seems unlike the documentation says it should behave.
I have 2.0.55 (Win32) Apache, I hope that doesn't matter.

On 11.05.09 01:54, Matus UHLAR - fantomas wrote:
 >> 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 domain.
 >
 >yes, this needs separate vhost.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message