tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <>
Subject Re: redirect request from 8080 to port 80
Date Thu, 16 May 2013 07:19:24 GMT

On 15.5.2013 16:47, Christopher Schultz wrote:
> I see that only the URI is being send in the first-line of the
> request, and not the protocol-qualified URL. Ognjen asserted that most
> user agents send the whole URL but I have not observed this -- neither
> today nor in the past. I think most browsers will probably just send
> the part of the URL after the protocol://host:port on the first line.

No, I did actually wrote:

> According to RFC2616 (Section 5.1.2), client may send absolute URI or absolute path.
Majority of clients will send absolute path when talking to the server.

Therefore, I agree with your findings. When there is no proxy involved, 
most clients will send HTTP request with the *absolute path* in the 
first line (e.g. "/examples/index.html"), and not absolute URI.

I believe my first reply was maybe not precise:

> Iptables will not change the URL.

What I meant to say here is: iptables will not change anything in the 
originating HTTP request, including elements which were extracted from 
the URL (absolute path and host header).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message