Re: [squid-users] redirecting to local page without http server

From: Joao Miguel Ferreira <joao.miguel.c.ferreira@dont-contact.us>
Date: Thu, 14 Jun 2007 21:57:23 +0100

Thanks a lot Chris.

I'll try that.

joao
:)

>
>
> Redirect "forbidden" requests to:
>
> http://this.page.is.forbidden/
>
> Then in squid.conf (fairly early):
>
> acl forbidden dstdomain this.page.is.forbidden
> http_access deny forbidden
> deny_info ERR_FORBIDDEN_PAGE forbidden
>
> Finally, create the {sysconfdir}/errors/English/ERR_FORBIDDEN_PAGE file
> to suit.
>
> Forbidden requests will be redirected to a non-existent domain, requests
> for that non-existent domain will be denied, and a special deny page
> will be shown.
>
> Chris
>
> Chris
Received on Thu Jun 14 2007 - 14:57:53 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT