httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Williams <>
Subject Re: [users@httpd] pointing documentroot to a file instead of a directory
Date Mon, 22 Sep 2008 17:58:54 GMT
Davide Bianchi wrote:
> Adam Williams wrote:
>> Is there a way or a command like documentroot but points to a file
>> instead of a directory?
> No. You can use the DirectoryIndex directives to specify which file to
> consider the 'main' page (in place of index.html). But the DocRoot is a
> directory.
> Davide

so basically the only solution is to use a documentroot of /pubs/ma and 
/pubs/jmh and move ma.html to /pubs/ma/index.html and jmh.html to 

View raw message