Re: How do I get Apache to detected and automatically run index.php files
- From: Veikko Mäkinen <look@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 04 Jul 2005 08:37:18 +0300
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
.- References:
- Prev by Date: How do I get Apache to detected and automatically run index.php files
- Next by Date: Re: File upload bug?
- Previous by thread: How do I get Apache to detected and automatically run index.php files
- Index(es):
Relevant Pages
|
|