2016-03-05 94 views
0

嗨,我有一個Centos 6 64 bit服務器錯誤500米的Centos

LAMP安裝HTML工作PHP不工作

當我嘗試上打開一個PHP的GamePanel:http://51.255.199.40/gpanel/,我得到Server Error 500,並將其在Apache的error_log中我得到:

[Sat Mar 05 14:45:58 2016] [error] [client 46.99.49.96] Directory index forbidden by Options directive: /var/www/html/ 

這裏是我的httpd.conf我php.conf和welcome.conf文件命名,PHP和welcome.conf在conf.d文件夾,並httpd.conf文件是在conf文件夾:

http://pastebin.com/xSzPrMmi

我不是在編碼我需要幫忙,因爲5天這個固定的IM這個問題仍然沒有修復

我的電子郵件地址是好:[email protected]如果你們需要聯繫我,我也會觀看這個話題。

相對於 本傑明Selmani

+0

http://stackoverflow.com/questions/5301776/directory-index-forbidden-by-options-指令 – Mattia

+0

你對你的目錄有正確的權限來執行Apache嗎?轉到目錄並鍵入'll'並打回車併發布目錄的行。如有疑問,請從權限開始並向後退出。 – ohiodoug

+0

這些permision用於html文件夾: drwxr-xr-x 9 root root 4096 Mar 5 02:53 gpanel –

回答

0

AllowOverride None變化到AllowOverride All內部httpd.conf的塊

<Directory "/var/www/html"> 
    AllowOverride All 
</Directory>