Search squid archive

Re: reverse proxy and standard http auth.

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

 



lör 2007-06-09 klockan 01:12 -0700 skrev leongmzlist:
> The urls are sent via libcurl as 
> "http://user:pw@xxxxxxxxxx/whatever/cgi?args";  I disabled the stop 
> hierarchy flags in squid to cache cgi requests.

Are you sure libcurl will send this on this form when talking to a web
server? It's not an URL format you normally send to a server (any
protocol), only Internet proxies..

A reverse proxy is the server in terms of protocol.

> I mainly want http://user1:pw@xxxxxxxxxx/whatever/cgi?arg1 cached. 
> When user2 comes and request for the same thing, but w/ different 
> credentials, it should hit the cache instead of going to the originserver.

Then you need to use standard HTTP authentication, and the web server
needs to return "Cache-Control: public" or you need to use
refresh_pattern to override this..

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux