[squid-users] Reverse Proxy URL rewriter/hostname scrubber

From: Seann Clark <nombrandue_at_tsukinokage.net>
Date: Mon, 19 Jan 2009 16:46:18 -0600

All,

    I am looking for a squid based solution for a problem I have. I
have a squid reverse proxy sitting in front of three web servers, set up
so I can test and QA each server by itself without a problem, and yet
still server to the www site as if they were one. While this works fine
inside my security boundary, it really breaks outside due to http being
blocked to the servers themselves.

    The idea with the proxy is to go internet --> squid --> http farm
and the problem that comes about is that occasionally the servers will
response with hostname.tld instead of www.tld like they are supposed to.
Since I have it set up to be desirable both ways for my set up, this is
ok inside. I need to get my squid to grab those requests and re-write
them as they are served to the client. This is especially troublesome
for embedded generated code (JavaScript links, and silly stuff like
that). I have basic idea's on how to do this, but I haven't found either
a good step by step telling how to do this, or a good redirect client
that can handle something like this.

   Any suggestions would help out a lot

Thanks,
Seann

Received on Mon Jan 19 2009 - 22:46:27 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 20 2009 - 12:00:07 MST