Re: [squid-users] redirecting transparently to few different ports based on URL or domain name

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 12 Dec 2003 07:48:32 +0100 (CET)

On Thu, 11 Dec 2003, Rami Jaamour wrote:

> #!/usr/bin/perl
> $|=1;
> while (<>) {
>
> s@http://soaptest.parasoft.com/calculator.wsdl@http://soaptest.parasoft.com/glue/calculator-01.wsdl@;
>
> s@http://soaptest.parasoft.com/glue/calculator@http://soaptest.parasoft.com:8000/glue/calculator@;
> print;
> }
>
> The first one work fine, but the when there are port changes like the
> second one it does not work, I just get a 404 from apache on 81!

I don't see even how first can work. How does your Squid find it's way to
port 81? The redirector is looking for a port 80 url and returning a port
80 url..

Regards
Henrik
Received on Fri Dec 12 2003 - 08:48:37 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST