[squid-users] Reverse proxy with URL rewriting

2008-04-29 Thread Sylvain Beaux
Hi all, I've a squid installed and it works in reverse-proxy mode. I would like to add two new backend servers but those ones require url rewriting. The following schema shows how the user will request the servers : client <-> | squid |<-> Server 1 ht

Re: [squid-users] Reverse proxy with URL rewriting

2008-04-30 Thread Mathieu Kretchner
Have you visit this url : http://wiki.squid-cache.org/SquidFaq/ReverseProxy I try this but it doesn't work on my server and nobody here know why ! If you can try and give me a feed back, it would be great. Thanks. Sylvain Beaux a écrit : Hi all, I've a squid installed and it works in reverse-

Re: [squid-users] Reverse proxy with URL rewriting

2008-04-30 Thread Henrik Nordstrom
tor 2008-05-01 klockan 00:34 +0200 skrev Sylvain Beaux: > I read in FAQ that I need to use a external script/program which modify > "on-the-fly" URLs. Yes. > But is there other possibilities to rewrite URL, I meen squid native > possibilities ? There is some built-in rewrite capability in the

Re: [squid-users] Reverse proxy with URL rewriting

2008-05-05 Thread Sylvain Beaux
Thank you for the explanations. I made squid working with url rewriting. But i've got an other problem, each web server use cookie methods and I need to rewrite the Cookie path too. Is it possible ? I didn't find a solution on the FAQ. example : Web server1 >> squid : HTTP/1.1 200 OK Set-Cookie:

Re: [squid-users] Reverse proxy with URL rewriting

2008-05-06 Thread Mathieu Kretchner
Thanks for your help! I try to determine an easy solution to setup up a reverse proxy and I'm thinking that installing reverse proxy is more easy with reverse proxy apache than with squid. But maybe, I'm not familiar with the squid syntax. Sylvain Beaux a écrit : Thank you for the explanatio

Re: [squid-users] Reverse proxy with URL rewriting

2008-05-06 Thread Sylvain Beaux
I've got an other problem, each web server use cookies methods and I need to rewrite the Cookie path too. I didn't find a solution on the FAQ. example : Web server1 >> squid : HTTP/1.1 200 OK Set-Cookie: cookie=[Token]; Path=/app1 squid >> user: HTTP/1.1 200 OK Set-Cookie: cookie=[Token]; Path=/s

Re: [squid-users] Reverse proxy with URL rewriting

2008-05-08 Thread Henrik Nordstrom
On tis, 2008-05-06 at 16:56 +0200, Sylvain Beaux wrote: > I've got an other problem, each web server use cookies methods and I > need to rewrite the Cookie path too. I didn't find a solution on the > FAQ. Squid can not do this. This is one of many reasons why it generally is a bad idea to remap U