Hi I�m trying to use deny_info with acls Safe_ports and SSL_ports
acl SSL_ports port 443 563 2083 2096 7773
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
deny_info ERR_ACL_ports_Safe Safe_ports
Then I put ERR_ACL_ports_Safe file with msg at
/usr/local/squid/share/errors/English
When I try to access http://200.50.32.40:999/ the right msg appear. But when
I use
https://200.50.32.40:999 the same the msg of the acl Safe_ports apear but
just half msg apear to me. Its Real strange. I was using
2.5.STABLE5-20040318 and I have downloaded the 2.5.STABLE5-20040604 latest
snapshop and the same error is occuring. Here follow my msg and the msg that
appear.
################
The original msg
################
<HTML><HEAD>
<TITLE>P<E1>gina negada pela acl Safe_ports</TITLE>
</HEAD><BODY>
<table border="0" width="100%%">
<tr>
<td width="50%%" align="center">
<font face="Verdana" size="2">
<P>
<P>%U<br></font>
<br>
</td>
<td width="50%%" align="center">
<font face="Verdana" size="2">
<P>
<P>%U<br></font>
<br>
</td>
</tr>
<tr>
<td width="50%%" align="center">
<font face="Verdana" size="2">
<P>N<E3>o <E9> permitido acessar esta
p<E1>gina pois a porta utilizada n<E3>o <E9> padr<E3>o.<P>
</td>
<td width="50%%" align="center">
<font face="Verdana" size="2">
<P>You are not allowed to access this page
because it is not using default port.<P>
</td>
</tr>
<tr>
<td width="50%%" align="left">
<font face="Verdana" size="2">
<ul>
<P>Se acessar esta p<E1>gina <E9>
necess<E1>rio para o desenvolvimento da sua fun<E7><E3>o, favor entrar em
contato com o He
lp Desk Varig pelo telefone 55 11 5091 2000.</P>
</ul>
</td>
<td width="50%%" align="left">
<font face="Verdana" size="2">
<ul>
<P>If access to this page is necessary to
your daily work, please call 55 11 5091 2000 Help Desk Varig.</P>
</ul>
</td>
</tr>
</table>
#####################
The msg that appear with https
#####################
<HTML><HEAD>
<TITLE>P�gina negada pela acl Safe_ports</TITLE>
</HEAD><BODY>
<table border="0" width="100%">
<tr>
<td width="50%" align="center">
<font face="Verdana" size="2">
<P>
<P>200.50.32.40:999<br></font>
<br>
</td>
<td width="50%" align="center">
<font face="Verdana" size="2">
<P>
<P>200.50.32.40:999<br></font>
<br>
</td>
</tr>
<tr>
<td width="50%" align="center">
<font face="Verdana" size="2">
<P>N�o � permitido acessar esta p�gina pois a porta utilizada n�o �
padr�o.<P>
</td>
<td width="50%" align="center">
<font face="Verdana
Any help is welcome,
Brgds, Leon.
_________________________________________________________________
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br
Received on Fri Jun 04 2004 - 13:23:50 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT