Re: URI host part changes when accessing default files

Craig.Bishop@barwonwater.vic.gov.au
Thu, 2 Mar 1995 03:07:21 +0500

Date: Thu, 2 Mar 1995 03:07:21 +0500
Message-Id: <199503020600.RAA00370@maui.isd.barwonwater.vic.gov.au>
From: Craig.Bishop@barwonwater.vic.gov.au
To: Multiple recipients of list <www-proxy@www10.w3.org>
Subject: Re: URI host part changes when accessing default files

Date: Wed, 1 Mar 1995 22:36:45 +0500
From: Larry Masinter <masinter@parc.xerox.com>

http://host:port

is not invalid, and is equivalent to http://host:port/.

http:///host

is invalid.

I know, however the CERN server remaps directory URLs automatically. See,

http://info.cern.ch/hypertext/WWW/Daemon/User/Config/General.html#AlwaysWelcome

Which says:

AlwaysWelcome

By default there is no difference between directory names with
and without a trailing slash when it comes to welcome pages.
The one without a trailing slash will cause an automatic
redirection to the one with a trailing slash, which then gets
mapped to the welcome page.

If it is desirable to have plain directory names to produce a
directory listing, and only the ones with a trailing slash
cause the welcome page to be returned, set the AlwaysWelcome
directive to off:

AlwaysWelcome Off

Default value is On.

It should work exactly the same as the syntactically correct URL.

Cheers, Craig