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

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


Follow-Ups: