没有显式文件名的请求服务器URL不parsing索引。*文件

我用apache2,php5和mysqlbuild立了一个新的vServer。

当我在浏览器中input我的服务器URL(例如example.org)时,它开始下载index.php,而不是parsing它。 但是当我请求一个文件(例如example.org/index.php)时,它会正确parsing它。

这是在我的php5.conf(片段):

<FilesMatch "\.ph(p3?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> 

我也尝试用以下代替上面的行:

 AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .php AddType application/x-httpd-php-source .phps 

但是这也没有帮助。

这是在我的httpd.conf中:

 AddHandler php5-script .php DirectoryIndex index.html index.php AddType text/html .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php 

我认为这是我必须做的,以使其工作…希望你能帮助我!

PS:我是一个“networking服务器pipe理员”新手。 任何更改后,我重新启动apache2和/或做一个强制重装…没有帮助:(