Re: [squid-users] Errors of squid not being shown ?
On Wed, Sep 15, 2004 at 11:12:02AM +0200, Carlos Pacheco wrote: It works all OK, but when I try to visit a page that is not allowed, it ret= urns a 403 error, and so in the explorer I see the normal 403 error, instea= d of the one generated by squid (ERR_ACCESS_DENIED). That's what it says in my access.log: 1095239235.531 2 192.1.1.20 TCP_DENIED/403 943 GET http://www.muchosexo.com/ - NONE/- - And if I try to get it using wget, I just see that a 403 error page is sent. Do I have to do something special to activate squid errors ??? Make sure your error_directory in the squid.conf points to something useful (present and readable for the squid process). Christoph P.S.: Are you forced to use that huge useless email disclaimer? -- ~ ~ .signature [Modified] 3 lines --100%--3,41 All
RE: [squid-users] Errors of squid not being shown ?
Hello. I've checked the directory and it's fully readable for the user. I'm using http transp. proxy with a virtual host. Is there any way I can log what's the URL squid tries to find for the error and get the 403 response? Thanks again, Carlos. PD: Sorry for the disclaimer, the policies of the company nothing I can do with it :( -Mensaje original- De: Christoph Haas [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 15 de septiembre de 2004 12:01 Para: [EMAIL PROTECTED] Asunto: Re: [squid-users] Errors of squid not being shown ? On Wed, Sep 15, 2004 at 11:12:02AM +0200, Carlos Pacheco wrote: It works all OK, but when I try to visit a page that is not allowed, it ret= urns a 403 error, and so in the explorer I see the normal 403 error, instea= d of the one generated by squid (ERR_ACCESS_DENIED). That's what it says in my access.log: 1095239235.531 2 192.1.1.20 TCP_DENIED/403 943 GET http://www.muchosexo.com/ - NONE/- - And if I try to get it using wget, I just see that a 403 error page is sent. Do I have to do something special to activate squid errors ??? Make sure your error_directory in the squid.conf points to something useful (present and readable for the squid process). Christoph P.S.: Are you forced to use that huge useless email disclaimer? -- Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y está libre de virus. La información contenida en este mensaje es confidencial y está dirigida únicamente al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o distribución del mensaje, o cualquier acción u omisión tomada por usted con relación al mismo está prohibida y puede ser ilegal. Por favor destruya la información y contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. y terceros. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. This email is intended solely for the use of the individual or organisation to whom it is addressed and may contain privileged or confidential information. If you are not the intended recipient, please note that retaining, copying, distributing, disclosing or using any information contained herein is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from any computer. Any views or opinions presented are those of the author and do not necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is not intended to create any legal obligations, contractual or otherwise, between DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. and any other party.
Re: [squid-users] Errors of squid not being shown ?
On Wed, 15 Sep 2004, Carlos Pacheco wrote: Hello. I'm using squid and there is something I don't understand. It works all OK, but when I try to visit a page that is not allowed, it ret= urns a 403 error, and so in the explorer I see the normal 403 error, instea= d of the one generated by squid (ERR_ACCESS_DENIED). If using MSIE then make sure to go into the internet settings and disable show friendly error messages. Regards Henrik
RE: [squid-users] Errors of squid not being shown ?
That was it. Thank you very much. I knew MSIE hided things but to substitute a complete html error code with its own by default.. Thanks. Carlos. -Mensaje original- De: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 15 de septiembre de 2004 19:22 Para: Carlos Pacheco CC: [EMAIL PROTECTED] Asunto: Re: [squid-users] Errors of squid not being shown ? On Wed, 15 Sep 2004, Carlos Pacheco wrote: Hello. I'm using squid and there is something I don't understand. It works all OK, but when I try to visit a page that is not allowed, it ret= urns a 403 error, and so in the explorer I see the normal 403 error, instea= d of the one generated by squid (ERR_ACCESS_DENIED). If using MSIE then make sure to go into the internet settings and disable show friendly error messages. Regards Henrik -- Este e-mail ha sido escaneado contra virus y contenidos peligrosos por MailScanner, y está libre de virus. La información contenida en este mensaje es confidencial y está dirigida únicamente al destinatario. Si usted no es el destinatario de este mensaje cualquier copia o distribución del mensaje, o cualquier acción u omisión tomada por usted con relación al mismo está prohibida y puede ser ilegal. Por favor destruya la información y contacte inmediatamente con el remitente si usted lo ha recibido por error.Cualquier opinión o punto de vista aquí presentado son aquellos del autor y no necesariamente representa a DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. Este e-mail no tiene el objetivo de crear ninguna obligación legal, contractual o de otro tipo entre DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. y terceros. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. This email is intended solely for the use of the individual or organisation to whom it is addressed and may contain privileged or confidential information. If you are not the intended recipient, please note that retaining, copying, distributing, disclosing or using any information contained herein is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from any computer. Any views or opinions presented are those of the author and do not necessarily represent those of DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. This email is not intended to create any legal obligations, contractual or otherwise, between DISEÑOS Y PROYECTOS TECNOLÓGICOS, S.L. and any other party.
RE: [squid-users] Errors of squid not being shown ?
On Wed, 15 Sep 2004, Carlos Pacheco wrote: That was it. Thank you very much. I knew MSIE hided things but to substitute a complete html error code with its own by default.. It has always done this.. Microsoft does not think people can surive if they see the actual error messages and prefer working around the issue in the browser rather than making their web server return human understandable error messages. It is supposedly possible ot convince MSIE to show the error despite being configured to show human friendly error messages by making sure the error response is sufficiently large. More details available in an MS KB entry somewhere (don't remember the number). Regards Henrik