[squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Hermann-Marcus Behrens
Hello, is it possible to force squid to cache an image, which never changes, but which is loaded with different parametes after a question-mark? Example: http://www.example.com/pixel.gif?page=index.htmlrand=4125422 I use this to measure the traffic on my webpage. A Javascript loads the image

Re: [squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Manoj_Rajkarnikar
On Tue, 10 Jul 2007, Hermann-Marcus Behrens wrote: Hello, is it possible to force squid to cache an image, which never changes, but which is loaded with different parametes after a question-mark? Example: http://www.example.com/pixel.gif?page=index.htmlrand=4125422 I use this to measure

Re: [squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Hermann-Marcus Behrens
find the acl QUERY that matches cgi-bin and ?. just before this acl, add the acl to allow caching of the file. something like this: Thank you for your answer. I chanded the squid.conf like you said, but it did not help. Every access to pixel.gif is reported as TCP_MISS. I understand, why

[squid-users] squid - restrict max upload

2007-07-10 Thread eXtremer
Hi all. I want to restrict users from uploading large files, in my case I want to allow only 3 Mb for uploading. I already restricted for max download with this option: reply_body_max_size 200 allow all = max file size is 2 Mb But I can't find the code to restrict upload ! Waiting for a

Re: [squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Henrik Nordstrom
tis 2007-07-10 klockan 11:30 +0200 skrev Hermann-Marcus Behrens: The problem: The file pixel.gif never changes, but due to the question-mark and the changing parameters squid always connects to apache and fetches the same file (=pixel.gif) from the apache daemon. I would like to config the

Re: [squid-users] squid - restrict max upload

2007-07-10 Thread Henrik Nordstrom
tis 2007-07-10 klockan 05:37 -0700 skrev eXtremer: Hi all. I want to restrict users from uploading large files, in my case I want to allow only 3 Mb for uploading. I already restricted for max download with this option: reply_body_max_size 200 allow all = max file size is 2 Mb But I

Re: [squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Isnard Jaquet
Try acl MYDOMAIN urlregex trk.citybeat.de/pixel.gif (match to your specific need) acl QUERY urlpath_regex cgi-bin \? cache deny QUERY !MYDOMAIN See if it helps... Regards, Isnard Em Ter, 2007-07-10 às 14:07 +0200, Hermann-Marcus Behrens escreveu: find the acl QUERY that matches cgi-bin

Re: [squid-users] squid - restrict max upload

2007-07-10 Thread eXtremer
Solution found (thanks to Henrik Nordstrom). request_body_max_size 3 MB -- View this message in context: http://www.nabble.com/squid---restrict-max-upload-tf401.html#a11520530 Sent from the Squid - Users mailing list archive at Nabble.com.

AW: [squid-users] squid and extranet

2007-07-10 Thread Markus.Rietzler
first check who is prompting for user/password: squid or your webserver? is your webserver running on IIS and so using NTLM as auth-protocol? markus -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 9. Juli 2007 17:16 An: Squid users

Re: [squid-users] Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread Hermann-Marcus Behrens
Isnard Jaquet schrieb: Try acl MYDOMAIN urlregex trk.citybeat.de/pixel.gif (match to your specific need) acl QUERY urlpath_regex cgi-bin \? cache deny QUERY !MYDOMAIN See if it helps... Thanks for the tip, but it does not help. I always get TCP_MISS. Any other idea? Greetings, Hermi

[squid-users] Re: Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread RW
Hermann-Marcus Behrens wrote: Isnard Jaquet schrieb: Try acl MYDOMAIN urlregex trk.citybeat.de/pixel.gif (match to your specific need) acl QUERY urlpath_regex cgi-bin \? cache deny QUERY !MYDOMAIN See if it helps... Thanks for the tip, but it does not help. I always get TCP_MISS.

RE: [squid-users] Muliple ports on single web backend

2007-07-10 Thread Jason Hitt
Ok I want the 80 site externally on 443 and the 8080 site accessible externally on a high port of 45678. Is this right? https_port 443 cert=/usr/local/squid/var/cert.pem urlgroup=1 vhost https_port 45678 cert=/usr/local/squid/var/cert.pem urlgroup=2 vhost cache_peer 10.10.59.01 parent 80 0

Re: [squid-users] Question Regarding Squid Parent SSL

2007-07-10 Thread Chris Robertson
Christian Keil wrote: Hello, I was trying to get my Local Lan Squid Proxy to connect trough SSL to my dedicated Server on the internet. I have set it up as parent proxy in my squid.conf on my lan by adding : cache_peer externalserverip parent 8080 3130 default ssl sslcert=/etc/ssl/squid.crt

Re: [squid-users] Fwd: squid question

2007-07-10 Thread Chris Robertson
James Byrne wrote: Can i get a user name in a error page, for example i know %u gets the url the person requested, but is there any other ones that i can use Thanks in advance for any help. http://wiki.squid-cache.org/SquidFaq/MiscFeatures#head-fd8f5559ec842b21e1acb06823eaa9b83897fcc3 Not

[squid-users] how can I query squid cache?

2007-07-10 Thread ying lcs
Hi, Is there a way to query if squid cache has entries (not expired) for a specified url? Thank you.