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

From: warren, anthony <anthony.warren@dont-contact.us>
Date: Tue, 21 Jan 2003 13:03:22 -0000

So am I able to have a custom error message appear if someone does not
authenticate successfully for download .exe's ?

Anthony

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

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 Tue Jan 21 2003 - 06:03:57 MST

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