@ 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 |
`-------------------------------------------------------------------------'