Re: URI host part changes when accessing default files

Reinier Post (reinpost@win.tue.nl)
Wed, 1 Mar 1995 09:30:53 +0500

Date: Wed, 1 Mar 1995 09:30:53 +0500
Message-Id: <199503011427.PAA08078@wsinis10.win.tue.nl>
From: reinpost@win.tue.nl (Reinier Post)
To: Multiple recipients of list <www-proxy@www10.w3.org>
Subject: Re: URI host part changes when accessing default files

You (Craig.Bishop@barwonwater.vic.gov.au) write:
>
>We have TIS plug-gw on our bastion host, on the firewall,
>directing port 80 to an internal host running the CERN server.
>The bastion host has a "www" CNAME.
>
>However, the URI in the above mail header will not work. If you
>add a / to end it works.

This will turn it into a valid URL. Adding / is important in operations that
add or subtract URL tails: proxy handling, other redirections, the resolution
of relative URLs, and more.

[...]

>Thoughts? Thanks.

Use valid URLs. Most programs will accept

http://host:port
http:///host

(mostly by adding the missing / before doing any further processing)
but these URLs are invalid really.

-- 
Reinier Post						 reinpost@win.tue.nl