Page 1 of 1

only .php files

PostPosted: 06. April 2006 12:40
by shadowfang
I've installed the latest xampp. I'm a real newbie when it comes to linux and server.

I use Debian btw.

If I use a browser to go to my server. it only accepts .php files

www.servername.com/ automatically searches for index.php and if none is found, even if there is a index.htm file there I only get a blank page.
even if i try www.servername.com/file.end it returns a blank page even if the file is there. This never occure if I look for a php file.

Can I do anything about this?

//Mikael Persson

PostPosted: 02. May 2006 20:51
by capitalfellow
Add this to your httpd.conf:

DirectoryIndex index.html index.php

restart the webserver