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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 20 Jan 2003 19:24:30 +0100

You never deny exe.. you only allow passwd to download them..

Regards
Henrik

mån 2003-01-20 klockan 13.28 skrev warren, anthony:
> 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

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Jan 20 2003 - 11:24:35 MST

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