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

Re: [cobalt-users] Slightly Off-Topic HTTP question.



Brian Curtis wrote:
> 
> > I've looked at RFC 1945 and RFC 2068 but I can't see any reference to the
> > fact that a server should return index.html if it gets a request for a
> > directory.
> >
> > Does anyone know where this gets defined?
> 
> Within your httpd.conf file, search for a line that starts with
> 'DirectoryIndex'.  You can define multiple directory index files, separated
> by spaces (I have 10).  You can also define this option on a per VirtualHost
> basis if necessary.

Very useful info, on my Qube it seems to be in /etc/httpd/conf/srm.conf.

But not quite the answer I was looking for!  What I mean is, is it a de facto
standard that if asked for a directory a server returns index.html, if it
exists,
or is it an official standard?

I am dealing with an embedded server here, so I don't actually have a handy 
.conf file to look at / edit.

regards
Dom