only .php files

Problems with the Linux version of XAMPP, questions, comments, and anything related.

only .php files

Postby shadowfang » 06. April 2006 12:40

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
shadowfang
 
Posts: 2
Joined: 06. April 2006 12:30

Postby capitalfellow » 02. May 2006 20:51

Add this to your httpd.conf:

DirectoryIndex index.html index.php

restart the webserver
User avatar
capitalfellow
 
Posts: 60
Joined: 19. July 2005 01:10
Location: Charlotte, NC USA
Operating System: OS X


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests