Boa noite galera! Seguinte, ja personalizei a pagina de bloqueio do squid, soh que eu queria que aparecesse o nome do usuario que esta sendo bloqueado.
tipo: Olá "FULANINHO" você foi bloqueado segundo as regras da empresa....etc...etc... Um amigo já fez isso numa empresa e sei que tem correlação com o /etc/hosts pois foi eu que configurei o hosts assim: 192.168.0.1 fulaninho fulaninho.dominio 192.168.0.2 beltraninho beltrano.dominio alguém ai pode dar uma luz? abaixo segue os codigos que o squid retorna em html. Abs e obrigado! %aUser identity%BURL with FTP %2f hack%cSquid error code%dseconds elapsed since request received (not yet implemented)%D Squid-generated error details. May contain other error page formating codes. Currently only SSL connection failures are detailed. For example, %D in a customized*ERR_SECURE_CONNECT_FAIL* response may be expanded into "The host name you are connecting to (foo.com) does not match any of the certificate names (foo.org, foo.net)..."). Supported since Squid v3.2.0.4. See also: application-level error code (%x) and system level error code/detail (%e/%E). %eerrno%Estrerror()%fFTP request line%FFTP reply line%gFTP server message%hcache hostname%Hserver host name%iclient IP address%I server IP address (NP: upper case *i*) %l Local site CSS stylesheet. (Squid-3.1 and later) (NP: lower case *L*) %L contents of *err_html_text* config option %MRequest Method%mError message returned by external auth helper%oMessage returned by external acl helper%pURL port \#%PProtocol%RFull HTTP Request%Ssquid default signature. (Squid prior to 3.1 automatically add unless %s is used.) %scaching proxy software with version%tlocal time%TUTC%UURL without password %uURL with password. (Squid-2.5 and later only.)%WExtended error page data URL-encoded for mailto links.%wcachemgr email address%xApplication-level error name or identifier (e.g., X509_V_ERR_UNABLE_TO_GET_CRL). Currently only supported for SSL certificate validation errors. See also: system-level error code/detail (%e/%E) and application-level error detail (%D).%zDNS server error message%ZMessage generated during the process which failed. May be ASCII-formatted. Use within HTML PRE tags. Att. Mauro Collin. Analista de Suporte Pleno. TI-Infraestrutura / Rede / Servidores Linux/Windows. Skype: mauro.collin

