Hi All

I have been having difficulties with using the no_cache directives.

I have a local webserver in my network with some propriteary program.  I would
like to make this program object to be cached in the proxy.

the url is like:
        http://www.mysite.com/cgi-bin/fred.wxh?id=...&user=....

I notice that the no_cache directives by default has:
        acl QUERY urlpath_regex cgi-bin \?
        no_cache deny QUERY

I then try modifying it to be:

        acl QUERY urlpath_regex cgi-bin \?
        acl IGNORE_CGI url_regex ^http:\/\/www.mysite.com\/cgi-bin\/
        no_cache allow IGNORE_CGI
        no_cache deny QUERY


With this setting, I keep getting TCP_MISS/200 for hitting 
http://www.mysite.com/cgi-bin/fred.wxh?id=...&user=....  As far as I can see, the 
object does not get cached.   

I have tried turning on 'log_mime_hdrs'.  The output in access.log doesn't show 
anything about cache-control in the headers.

066628527.970    278 192.168.10.29 TCP_MISS/200 7284 GET 
http://www.mysite.com/cgi-bin/fred.wxh?id=15&user=fred - DIRECT/10.0.2.78 text/html 
[Accept: */*\r\nAccept-Language: en-au\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.1)\r\nHost: www.mysite.com\r\nProxy-Connection: Keep-Alive\r\n] 
[HTTP/1.1 200 OK\r\nDate: Mon, 20 Oct 2003 05:42:07 GMT\r\nServer: Apache/1.3.1 
(Unix)\r\nConnection: close\r\nContent-Type: text/html\r\n\r]

I would really appreciate any hints in any way!!

Thanks

Christian.

Reply via email to