Re: [squid-users] Squid

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 19 Jun 2008 21:39:22 +0200

On tor, 2008-06-19 at 07:25 -0700, aot2002 wrote:
> i wrote a url rewrite to handle it
>
> the program in /etc/squid/rewrite.pl has
>
> #!/usr/bin/perl -p
> BEGIN { $|=1; }
> s%^http://10.108.50.37/%http://64.*****MYIP*****:21080/% && next;

Better to fix your http_port line...

> >> http_port 21080 defaultsite=10.108.50.37

should be

http_port 21080 defaultsite=64.*****MYIP*****:21080

Regards
Henrik

Received on Thu Jun 19 2008 - 19:39:28 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 20 2008 - 12:00:04 MDT