squid & error message

Miroslav Pragl miroslav.pragl na omega-optix.cz
Středa Červenec 11 11:18:16 CEST 2001


Ano, umistete stranku (podobnou jako standardni) do ~errors a pouzijte
parametr deny_info

#  TAG: deny_info
#       Usage:   deny_info err_page_name acl
#       Example: deny_info ERR_CUSTOM_ACCESS_DENIED bad_guys
#
#       This can be used to return a ERR_ page for requests which
#       do not pass the 'http_access' rules.  A single ACL will cause
#       the http_access check to fail.  If a 'deny_info' line exists
#       for that ACL then Squid returns a corresponding error page.
#
#       You may use ERR_ pages that come with Squid or create your own pages
#       and put them into the configured errors/ directory.


MP

> Chcem sa spytat ci niekto vie ci sa da squidu vnutit
> chybova sprava ktoru ma pouzit pri riadku:
>
> http_access deny zakazane-url
>
> Normalne pouzije spravu access denied. Tu nechcem




Další informace o konferenci Linux