Search squid archive

Re: redirecting to local page without http server

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

 



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




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

  Powered by Linux