Sorry Adrian. Actually he told me its more complex. thats why i ask squid-users 
for an idea or work around for this.


With 302(move temporarily) and 303(see other) HTTP status code. 3XX code 
actually a redirect(correct me if im wrong) so what if squid will just follow 
the redirect before squid process its content...
or squid will just bypass this redirects. So that the 303/302content will not 
be process by storeurl.


by the way i've also tried; 
acl location rep_header Location . <- where 302/303 or redirect has always 
Location header(i think)
cache deny location
still not working so i assume cache deny is a request processing....
the only thing i know that works is;
access_log ..... location

my other weird idea(just for workaround) if we could inject no-cache to those 
content with header that has a Location in order impose proper caching is it 
possible?


----- Original Message ----
From: Adrian Chadd <[EMAIL PROTECTED]>
To: Amos Jeffries <[EMAIL PROTECTED]>
Cc: chudy fernandez <[EMAIL PROTECTED]>; Adrian Chadd <[EMAIL PROTECTED]>
Sent: Wednesday, September 10, 2008 11:28:19 PM
Subject: Re: [squid-users] 302,303 redirect

I've been talking to him in private about the store url ACLs that are possible.
(The ACLs for the storeurl_access only works on request, not reply, making
it a bit of a pain.)

Yes, I told you chudy, fixing this up to cache youtube will take a bit more
effort. :)

What are you trying to do with the 302/303's? Email that to squid-users and
I'll see what we can come up with.



Adrian

On Thu, Sep 11, 2008, Amos Jeffries wrote:
> chudy fernandez wrote:
> >i have an configuration
> >acl location rep_header Location .
> >which would tell me that the content reply is a redirect now i wanna deny 
> >that so that it won't go inside my storeurl script
> >storeurl_access deny location
> >
> >but storeurl_access is not a reply processing there when the content 
> >header has no no-cache or no-store it will became cache-hit 302 or 303
> >so is there any other way around doing this so it will not go to my 
> >storeurl script.
> >I have attach my squid.conf
> >
> 
> Ah, right. That sounds like a problem for Adrian who created the 
> storeurl feature (cc'd). It would need reworking to be tested twice on 
> MISS requests.
> 
> Amos
> 
> >
> >
> >----- Original Message ----
> >From: Amos Jeffries <[EMAIL PROTECTED]>
> >To: chudy fernandez <[EMAIL PROTECTED]>
> >Cc: squid-users@squid-cache.org
> >Sent: Wednesday, September 10, 2008 4:47:43 PM
> >Subject: Re: [squid-users] 302,303 redirect
> >
> >chudy fernandez wrote:
> >>Is there a way the 302,303 or redirect contents will not be precess by 
> >>squid?
> >>I've used storeurl feature since you cannot deny reply header i'm 
> >>wondering is there a way that these contents will bypass storeurl or it 
> >>will just go follow the redirect before entering to squid.
> >>
> >
> >Pardon? all HTTP request and reply are processed in some fashion by Squid.
> >
> >What are you attempting to do? with what squid release? and how have you 
> >tried so far?
> >
> >Amos
> 
> 
> -- 
> Please use Squid 2.7.STABLE4 or 3.0.STABLE8

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -


      

Reply via email to