Search squid archive

One more question on redirects - hopefully more clear

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

 



Hello,

Ok I have moved from squirm to a perl redirect. My squid.conf looks like this

....top stuff removed ....
redirect_program /usr/local/squid/etc/redirector
redirect_children 10
visible_hostname MYSITE
http_port 8001 accel defaultsite=www.mysite.com:8001
cache_peer 10.1.140.202 parent 8001 0 no-query originserver name=auth

My redirector looks like this

#!/usr/bin/perl
$|=1;
while (<>) {
s@http://www.mysite.com:8001@http://www.mysite.com:8001/OA_HTML/US/ICXINDEX_BOL.htm@ ;
    print;
}


when I start up squid and go to

http://mysite.com:8001 I get

Not Found
The requested URL /OA_HTML/US/ICXINDEX_BOL.htm/ was not found on this server.

in the browser. and

TCP_MISS/404 484 GET http://www.mysite.com:8001/ - FIRST_UP_PARENT/ auth text/html

Please tell me what I am doing wrong.

Jamie

James Wenzel
Enterprise Resource Providers
www.enterpriserp.com
716 310 8236


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

  Powered by Linux