[squid-users] URL bad rewritten using directive "deny_info"
javier.sanchez at coam.org
javier.sanchez at coam.org
Wed Jan 25 12:00:26 UTC 2017
Hi all.
I using squid 3.4.8 over Debian as reverse proxy in order to
protect with SSL some of our servers.
I have an issue when I try to "redirect" to port 443 users that try
to connect to port 80.
As is said here
(http://lists.squid-cache.org/pipermail/squid-users/2016-September/012669.html),
we use this lines in our configuration.
[...]
http_port 80 accel vport
acl HTTP proto HTTP
deny_info 301:https://%H%R HTTP
http_access deny HTTP
[...]
It works and send a 301 reply to the client, but the problem is that it changes the requested URL. Particularly it changes "&" for "&"
This is a real example:
The client request next URL on port 80:
http://masivos.coam.org/Masivos/URLProcesador?id_envio=2689&token=20161202122625195AMVnxAmHS2lwgc5JoFd2HCHi9fBipvoesVlpMWw3RpJ5yratkcx3ucbBRwpHPs1pNouvpP99UuWWxn359pnXnetQKrekCDZjCo65&id=0&semilla=20150710135955907GDEjFCZNveaoPsXs34Npc2JUQWF3PcCFjcAadFbToAFCqfQqX3cS6xeyh5NVEb31tNa4YqtE9pWFFxoqnT6wWhTrbMNEVKp7guyx&email=prueba2@coam.org
The client receives 301 error code requesting him to go to:
https://masivos.coam.org/Masivos/URLProcesador?id_envio=2689&token=20161202122625195AMVnxAmHS2lwgc5JoFd2HCHi9fBipvoesVlpMWw3RpJ5yratkcx3ucbBRwpHPs1pNouvpP99UuWWxn359pnXnetQKrekCDZjCo65&id=0&semilla=20150710135955907GDEjFCZNveaoPsXs34Npc2JUQWF3PcCFjcAadFbToAFCqfQqX3cS6xeyh5NVEb31tNa4YqtE9pWFFxoqnT6wWhTrbMNEVKp7guyx&email=prueba2@coam.org
How can I solve that? Is this a bug or something that can be solved
changing configuration.
Thank you.
--
Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170125/2a073a29/attachment.html>
More information about the squid-users
mailing list