14
Jan

I have a directory www.site.com/files

In that directory is the file index.php, how do I make Apache automatically open that file like it does with index.html.

I have php installed.


Answer:
1. Open your httpd.conf file

2. Find the line starting with keyword "DirectoryIndex"

3. Add index.php to that line

4. Reboot apache


Answer:
go see the place that fixes computers in ur town

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

Tags: , , , ,

This entry was posted on Monday, January 14th, 2008 at 10:34 pm and is filed under Computer Networking. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment