Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache / Squid Proxy Chaining Madness!

Status
Not open for further replies.

WhoBTheNewbie

IS-IT--Management
Aug 29, 2006
2
GB
Hi All,

I have limited knowledge about both these products so forgive my naivity when trying to describe both what I am trying to achieve and the problem I currently get.

Trying to achieve:

What I would like to do is chain my apache and squid proxies. My squid setup works fine, its a vanilla setup and will proxy my requests to the IIS6 backend webserver.

I have also setup my Apache proxy to IIS6 and that works fine.

What I want to do, is get my request to go through the Apache Proxy , then the Squid Proxy and final to the IIS6 Web Server and back.

A key piece of info is that Apache2.0.59 & Squid (Latest Stable) are on the SAME machine, [ignore][/ignore] and [ignore][/ignore] respectively. I have tried using two boxes (1 for Apache, 1 for Squid) but the problem below still exists.

Problem as I see it:

When I point my Apache Proxy at squid..

ProxyPass / [ignore][/ignore]

it falls apart.

Using Server Simulator, the request changes from including the domain in the GET URI
eg. GET [ignore][/ignore]
to just being
eg. GET /someURI
after point the Apache Proxy to Squid.

I have looked over every bit of documentation I can for the mod_proxy module.

Is there anyone that shares this is, or a variant of it, or know how to force Apache to include the domain in the GET request.

I would even be happy with a rewrite rule if it coped with multiple domains.

Thanks in advance for any help!

Please fire questions if stuff doesn't make sense, just don't ask why! :¬ ~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top