Search squid archive

redirect not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux