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

2009-05-13 Thread Matus UHLAR - fantomas
On 11.05.09 15:47, kp_stv wrote: 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

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

2009-05-11 Thread kp_stv
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)

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

2009-05-11 Thread Igor Cicimov
Did you try my first suggestion? If it didn't work try this one RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.merill-lynch\.com$ RewriteRule ^/(.*) http://www.b-of-a.com/$1 [R=301,L] Igor On Tue, May 12, 2009 at 8:47 AM, kp_stv dxwhotmgl...@spammotel.com wrote: I tried Matus suggestion: