Re: How do I get Apache to detected and automatically run index.php files



kurtk@xxxxxxxxx wrote:
I have install Apache and php5. I can execute php with no problem.
However, I would like index.php to be recognized and executed the way
that index.html is. That is, given the www.mysite.com has index.php in
the root, and there is no index.html file, I want to be able to type
www.mysite.com in the browser and not have to type
www.mysite.com/index.php.

Is that an .htaccess change of some sort?

Yes

DirectoryIndex index.php index.html index.htm


-veikko



--
        veikko
mail@                     .com
                makinen
.



Relevant Pages

  • on behalf of Tonys only ridiculous sake
    ... There, go let a root! ... Gawd Ibrahim will ... unless Ziad yells substitutes worth Abduljalil's ... affections put sort of charming ...
    (sci.crypt)
  • Re: ok, its confirmed - Bangalore is building a Test team
    ... a sort of desultory thing. ... But an active interest where you root for your team, ... So what if a few guys who used to play for the city team in some obscure tournament earlier aren't with us anymore. ... If they really cared for Bombay, destiny would have ensured that they were picked up by Bombay :-) ...
    (rec.sport.cricket)
  • Re: named wont start on 5.1
    ... but omitting it reveals that named is about the last thing ... Must be some sort of chroot problem, ... no errors but it runs as root, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: named wont start on 5.1
    ... bob prohaska wrote: ... and the start fails with some sort of syntax error: ... >Must be some sort of chroot problem, ... >no errors but it runs as root, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Image converting
    ... The box where those images resides, ... due to harddrive failure of some sort, ... and "root" was here on holiday for a week. ...
    (comp.os.linux.misc)