Thread: Default type
View Single Post

  #3 (permalink)  
Old 07-02-2003
charlie
 
Posts: n/a
Default Re: Default type


"Joshua Nixon" <nixonjos@msu.edu> wrote in message
news:bdf682$38v$1@msunews.cl.msu.edu...
> edit httpd.conf like for DirectoryIndex and add index.php to the end.
>
> DirectoryIndex index.html index.html.var index.php
>
> as it says in the httpd.conf comments - this will tell apache which doc
> it should serve when it receives a directory request. if you'd rather it
> serve the .php file than the .html file, delete the index.html file from
> the line, or delete it from the directory.
>
> -josh
>
> This seems ok but when I alter my config file to serve index.mht all I get

is
> Invalid Syntax Error when I try to load the index file with my browser any
>ideas ?
>

Carl