Re: [squid-users] Questions about referer url cache

2010-03-17 Thread dave jones
Please ignore this message, I fixed the problem. Sorry for the noise! Regards, Dave. 2010/3/17 dave jones : > 2010/3/16 Henrik Nordström wrote: >> tis 2010-03-16 klockan 10:08 +0800 skrev dave jones: >> >>> Thanks. I use url_rewrite_program /etc/squid/redirect_test.php, >>> but it seems my progra

Re: [squid-users] Questions about referer url cache

2010-03-17 Thread dave jones
2010/3/16 Henrik Nordström wrote: > tis 2010-03-16 klockan 10:08 +0800 skrev dave jones: > >> Thanks. I use url_rewrite_program /etc/squid/redirect_test.php, >> but it seems my program doesn't work... > > In most languages you need to turn off output buffering, and is > something everyone trips ove

Re: [squid-users] Questions about referer url cache

2010-03-16 Thread Henrik Nordström
tis 2010-03-16 klockan 10:08 +0800 skrev dave jones: > Thanks. I use url_rewrite_program /etc/squid/redirect_test.php, > but it seems my program doesn't work... In most languages you need to turn off output buffering, and is something everyone trips over when writing their first url rewriter/redi

Re: [squid-users] Questions about referer url cache

2010-03-15 Thread dave jones
On Sat, Mar 13, 2010 at 2:35 AM, Henrik Nordstrom wrote: > fre 2010-03-12 klockan 23:36 +0800 skrev dave jones: >> My question is I want to offline browse the index.html of foo.com, >> but there are many "http://us.rd.foo.com/referurl/news/index/realtime/*"; >> in index.html, would anyone tell me

Re: [squid-users] Questions about referer url cache

2010-03-12 Thread Henrik Nordstrom
fre 2010-03-12 klockan 23:36 +0800 skrev dave jones: > My question is I want to offline browse the index.html of foo.com, > but there are many "http://us.rd.foo.com/referurl/news/index/realtime/*"; > in index.html, would anyone tell me how do I solve that referer url to direct > the correct one, li

[squid-users] Questions about referer url cache

2010-03-12 Thread dave jones
Hi, I use squid to cache the website, for instance foo.com. The access log is: 1268405798.728 78535 127.0.0.1 TCP_MISS/504 277 GET http://us.rd.foo.com/refe rurl/news/index/realtime/*http://us.news.foo.com/article/url/d/a/100312/11/21y cr.html - DIRECT/us.rd.foo.com text/html If I type url http