Re: Fwd: rewrite URI help

2014-03-06 Thread Steve Phillips
Yes, using the latest 1.5-dev version. Was going to paste my config but no need. The set-header option solved the problem. Thank you again Cyril. I guess I owe you several beers when you visit San Francisco:) Steve On Thu, Mar 6, 2014 at 3:10 PM, Cyril Bonté wrote: > Le 06/03/2014 23:47,

Re: Fwd: rewrite URI help

2014-03-06 Thread Cyril Bonté
Le 06/03/2014 23:47, Steve Phillips a écrit : I can't look at the backend server as it is slideshare.net . You can introduce a "debug" proxy in your configuration to log what happens after the reqrep. To answer your question Cyril...requests coming to the front-end wi

Re: Fwd: rewrite URI help

2014-03-06 Thread Steve Phillips
I can't look at the backend server as it is slideshare.net. To answer your question Cyril...requests coming to the front-end will be of the form: /slideshare... I want to rewrite all instances of /slideshare -> /api/2/get_slideshow and then reverse proxy the result to www.slideshare.net: /slid

Re: Fwd: rewrite URI help

2014-03-06 Thread Cyril Bonté
Hi, Le 06/03/2014 22:42, Steve Phillips a écrit : Haven't gotten a response on this...trying again...any help appreciated. Patrick Hemmer already replied to the list yesterday (but without including your email address). Trying to reverse proxy all requests to /slideshare to www.slidesh

Fwd: rewrite URI help

2014-03-06 Thread Steve Phillips
Haven't gotten a response on this...trying again...any help appreciated. Trying to reverse proxy all requests to /slideshare to www.slideshare.net/api/2/get_slideshow my front-end config: acl url_slideshare path_dir slideshare use_backend slideshare if url_slideshare and b