[squid-users] redirect not working

From: jayesh chavan <jayesh.jayiesh_at_gmail.com>
Date: Thu, 18 Mar 2010 12:28:25 +0530

Hi,
    I have apache server installed on same host.My redirect program is
giving error as access is not allowed.Apache is listening on port
80.My squid config contains:
htttp_port 8080
http_access allow manager localhost
http_access allow localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all

Apache is uses as webserver and squid as normal proxy.Squid uses
parent proxy 192.168.7.253:3128 and my squid address is
192.168.7.236:8080

Line in redirect program is
          #!c:/perl/bin/perl.exe
# enable buffer autoflush
$|=1;
# read from standard input
while (<>)
{

                  s@http://www.ewq.com@http://127.0.0.1/jay.txt@;
                  print;
}

Regards,
   Jayesh
Received on Thu Mar 18 2010 - 06:58:33 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 18 2010 - 12:00:04 MDT