Has anyone tried using how proxy with other protocols like we sphere mq?
I am assuming it is pretty much a top proxy config.

Any pointers on setup and configuration?

Cheers

----- Original Message -----
From: [email protected]
To: SAILESH KRISHNAMURTI, [email protected], [email protected]
At: Thursday, October 4, 2012 7:42:15 PM Eastern Daylight Time

Hi Claudiu,

On Thu, Oct 04, 2012 at 04:26:11PM +0200, claudiu vasadi wrote:
> 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).

I can't reproduce this, the rule works exactly as expected here,
what version are you using ?
---
  GET /login HTTP/1.1
  Host: old-domain.com

  HTTP/1.0 503 Service Unavailable      (I had no server in the config)
---
  GET /log HTTP/1.1
  Host: old-domain.com

  HTTP/1.1 301 Moved Permanently
  Cache-Control: no-cache
  Content-length: 0
  Location: http://www.newdomain.com/primary/log
---

Regards,
Willy



Reply via email to