<div dir="ltr"><div><div><div><div><div><div>Hi Amos,<br><br></div>Thank you for the support.<br></div>This is my squid.conf<br><a href="http://pastebin.com/hNmnck27">http://pastebin.com/hNmnck27</a><br><br></div>We use squid as external access to hosts services (port 80) that are in a vpn, so this should be the classical use of a reverse proxy.<br><br></div>What do you think?<br></div>Thank you.<br><br></div>Gian<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 16, 2015 at 11:53 AM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16/10/2015 9:23 p.m., Gianluca Bergamo wrote:<br>
> Hi everyone,<br>
><br>
> I've just discovered that making requests to our reverse proxy using a<br>
> Vodafone umts connection does not work.<br>
> I get a bad request, and the problem is that in the http header the GET<br>
> line does not include the full path but just the relative one. The "Host:"<br>
> parameter in the header is ok and it contains the host address.<br>
> If I make the request using different internet mobile providers I have no<br>
> problems, so it seems it's something with Vodafone that strips the url!<br>
><br>
> In the RFC 2616 (chapter 5.1.2) they say:<br>
> "The absoluteURI form is REQUIRED when the request is being made to a<br>
> proxy. "<br>
><br>
> So, is there a way with Squid 3.4 (or newer versions) to solve or<br>
> workaround this problem?<br>
<br>
</span>RFC 2616 is obsolete. HTTP is now governed by RFC 7230-7235.<br>
<br>
You said this was a reverse-proxy. The rules for reverse-proxy are the<br>
same as the rules for origin servers, not the rules for proxies.<br>
That includes the relevance of RFC 7230 section 5.3.1.<br>
<br>
<<a href="http://tools.ietf.org/html/rfc7230#section-5.3" rel="noreferrer" target="_blank">http://tools.ietf.org/html/rfc7230#section-5.3</a>><br>
<br>
So either you *dont* have a reverse-proxy, or the problem is something<br>
other than what you think.<br>
<br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">As we grow older we grow both more foolish and wiser at the same time. </div>
</div>