
November 15th, 2005, 12:37 AM
|
|
|
|
Join Date: Apr 2007
Location: Melbourne, Victoria, Australia
Posts: 11
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Not recognizing index.php
It seems my webserver doesn't recognize .php as a valid extension for an index file.
Ie, in the directory /Web I have a file called index.php. When people go mywebsite.com/Web it wont display /Web/index.php but if I type in the full address (includign index.php) it will display it fine.
It's not that annoying since I only use my server for testing, but I'd still like to know where to edit in order to make .php a valid index extension.
Thanks.
[I'm using Apache2 with PHP5 on a Windows 2000 server (with all updates). I'm sure this is just a misconfiguration and not a bug, because it's happened on other servers I've setup (different OSs and Apache/PHP versions).]
|