RE: [squid-users] Custom error message when authentication fails

From: warren, anthony <anthony.warren@dont-contact.us>
Date: Mon, 20 Jan 2003 12:28:24 -0000

Hi,

This is what I have in my squid.conf. What I should receive, if my
understanding is correct, is ERR_DOWNLOAD_DENIED - however, what I actually
receive is ERR_CACHE_ACCESS_DENIED.

acl exe urlpath_regex \.exe$
deny_info ERR_DOWNLOAD_DENIED exe
acl all src 0.0.0.0/0.0.0.0
acl passwd proxy_auth
http_access allow exe passwd
http_access allow all

Am I missing something here?

Regards,

Anthony Warren

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: 17 January 2003 19:36
To: warren, anthony
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Custom error message when authentication fails

"warren, anthony" wrote:
>
> Hi,
>
> I am trying to configure a custom error page to be shown when
> authentication fails. I have successfully created a custom error that
> is used with a deny acl, but I cannot get it to work after
> authentication failure.
>
> Is this possible, if so how?

Works here.. just

  deny_info ERR_YOUR_PAGE_NAME aclname

where aclname is your first acl requiring authentication in http_access..

Regards
Henrik
Received on Mon Jan 20 2003 - 05:29:00 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:44 MST