Search squid archive

Re: Issues with Squid and authenticated sites

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

 



On mån, 2008-06-16 at 14:04 -0300, Henrique Machado wrote:
> Since I´m a very stubborn person, I´m still trying.

Good.

> Doing some further research, I found a post in squid list from 3 years
> ago (in fact, you answered to it that time) where a user said he
> changed squid so it would return to the browser a HTTP_UNAUTHORIZED
> (401) message and then a WWW-Authenticate response-header.

Yes.. it's what Squid does.

squidclient ftp://someone@localhost
HTTP/1.1 401 Unauthorized
Server: squid/2.HEAD-CVS
Date: Mon, 16 Jun 2008 19:38:46 GMT
Content-Type: text/html
Content-Length: 1293
Expires: Mon, 16 Jun 2008 19:38:46 GMT
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
WWW-Authenticate: Basic realm="ftp someone"
X-Cache: MISS from henrik
X-Cache-Lookup: MISS from henrik:3128
Via: 1.0 henrik:3128 (squid/2.HEAD-CVS)
Connection: close


Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux