View Single Post

   
  #3 (permalink)  
Old 02-19-2008, 12:00 PM
Jim
 
Posts: n/a
Default Re: Apache - so far so good.

Morten Lundstrøm wrote:

> Okay I've managed to set most things up on my system the way I like it.
> Sendmail goes thru my ISPs SMTP server :-D
> Apache fetches index.html and index.php files now :-D
> MySQL works :-D
> But I can't get get Apache to fetch the index.* in a sub-dir without
> adding a / to the end of the adress.
> for example: http://www.hyperion.adsl.dk/~morten/si/
> I would like to be able to write http://www.hyperion.adsl.dk/~morten/si
> and then it should work :-)
> I'm not really sure what kinda option/setting I'm looking for so it's not
> particularly easy :-(


Edit httpd.conf and look for the variable called DirectoryIndex. It should
already have index.html. You may want to add index.php. At least, I think
that's what you're looking for. Of course, you have to stop and restart
Apache for your changes to take effect.
Reply With Quote