Search squid archive

URL bad rewritten using directive "deny_info"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




    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@xxxxxxxx

	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@xxxxxxxx


    How can I solve that? Is this a bug or something that can be solved changing configuration.


    Thank you.


--

Javier
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux