Search squid archive

Redirection not work properly

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

 



Hi,

I use squid 3.5.5, in squid 2.7 series this problem doesn't show.

in squid.conf
url_rewrite_program /usr/local/libexec/jesred
url_rewrite_children 30

in jesred, redirect.rules contain something like this:
regex   ^.*/(.*)_chrome_installer\.exe$
http://files.example.net/rdr/43.0.2357.124_chrome_installer.exe

in webserver, showing error log, which is missing filename, of cause
produce 404 (page not found error).

xxx.xxx.xxx.xxx files.example.net - [15/Jun/2015:17:01:23 +0700] "GET
/rdr/43.0.2357.124_chrome_installer.exeyyy.yyy.yyy.yyy/pcbill.example.net-GET
HTTP/1.1" 404 345 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"

The right filename is: "43.0.2357.124_chrome_installer.exe" NOT
"43.0.2357.124_chrome_installer.exeyyy.yyy.yyy.yyy/pcbill.example.net-GET"

Anyone have suggestion for this issue?

Thank you

-- 
budsz
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux