Hi,

I'm confronted with the challenge of redirecting an old domain (
old-domain.com) to a new domain (www.newdomain.com/primary) but leave 1x
url (/login) from the old domain un-redirected.
What I;ve done so far is:

  acl old_dom hdr(host) -i old-domain.com
  acl url_old_dom_login url_beg /login
  redirect code 301 prefix http://www.newdomain.com/primary if
!url_old_dom_login old_dom

The result is a bit unexpected since when accessing "
http://old-domain.com/login"; I get redirected to "
http://www.newdomain.comlogin"; (notice the missing '/' before the "login"
word).

Any ideas ?

-- 
Best regards,
Claudiu Vasadi

Reply via email to