Re: HomePage URL without a file name.How?
Paul "S." Wain <Paul.Wain@brunel.ac.uk>
From: Paul "S." Wain <Paul.Wain@brunel.ac.uk>
Message-id: <14193.9401070914@thor.brunel.ac.uk>
Subject: Re: HomePage URL without a file name.How?
To: ZAPANTIS@uvphys.phys.UVic.CA (Nik Zapantis, UVic Physics, Victoria BC)
Date: Fri, 7 Jan 1994 09:14:59 +0000 (GMT)
Cc: www-talk@www0.cern.ch
In-reply-to: <940106134434.25000070@uvphys.phys.UVic.CA> from "Nik Zapantis, UVic Physics, Victoria BC" at Jan 6, 94 01:44:34 pm
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 2351
@ eg: the URL for the CERN home page is just "http://info.cern.ch"
@ I have started running an HTTP server on my VMS system, and I would like to
@ have my home page defined as above, but I have not been able to find the
@ appropriate info in the Docs I have.
@ Is there a default filename that WWW and/or Mosaic look for, when the URL is
@ just the node name? I have tried naming my home page HOME.HTML, WELCOME.HTML,
@ DEFAULT.HTML, WWW_HOME.HTML but without any results.
@ I have no problem reading my home page if the URL contains the filename with
@ the node name.
Here is a bit more of a detailed reply than the others that people have
submitted so far. Sorry to those of you who this is repeating
information for.
The home URL here at Brunel is:
http://http1.brunel.ac.uk:8080
I am assuming that the directives are pretty similar in the version of
the daemon that you are using. I shall walk through this as for NCSA's
httpd 1.0.
The above was set up in the httpd configuration files as:
1) Set your DocumentRoot to the correct directory. Im assuming that you
already have this. In my case this was in srm.conf as:
DocumentRoot /vol/PACK/brunel-html-data
2) ***KEY BIT*** Now modify the DirectoyIndex value. The srm.conf file
with the NCSA httpd_1.0 gives this as ``Name of the file to use as a
pre-written HTML directory index'' or the default file to be loaded
rather than giving the directory listing. I modified mine to be:
DirectoryIndex home.html
3) All I then did was in the directory ``/vol/PACK/brunel-html-data''
make sure that a file ``home.html'' exist. Now when someone requests
just the URL of Brunel given above, they get the brunel home page.
Paul
p.s. By the same way, the URL in my .signature actually gets the files
from:
http://http2.brunel.ac.uk:8080/~ccsrpsw/home.html
.-------------------------------------------------------------------------.
| Paul S. Wain, (X.500 Project Engineer and WWW/HTTP chappie), |
|-------------------------------------------------------------------------+
| Computer Centre, Brunel University, Uxbridge, Middx., UB8 3PH, ENGLAND. |
| VOICE: +44 895 274000 extn 2391 EMAIL: Paul.Wain@brunel.ac.uk |
| http://http2.brunel.ac.uk:8080/paul |
`-------------------------------------------------------------------------'