2012-11-19 107 views
1

我下載了&安裝了WAMP。進口我的數據庫在phpMyAdmin,並試圖啓動通過我的瀏覽器的網站:http://localhost/myWebsite/index.phpWAMP內部服務器錯誤

我收到以下錯誤信息:

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. 

More information about this error may be available in the server error log. 

更新我查了日誌,我看到的是一個錯誤是:

127.0.0.1 - - [19/Nov/2012:14:40:14 +0000] "GET /myWebsite/index.php HTTP/1.1" 500 528 

回答

2

根據你的錯誤日誌更新,並且您收到錯誤消息,這是一個HTTP Error 500這表明服務器知道,它遇到了一個錯誤或因其他不能執行請求的..

你需要檢查您的代碼和任何.htaccess文件駐留在您的服務器上。

-1

當然,找到你的服務器日誌,他們應該提供一些細節。

+0

請檢查我原來的帖子的更新。 – Subby

+0

這不是很遠,嘗試在您的htaccess文件中啓用mod rewrite取消註釋#LoadModule rewrite_module modules/mod_rewrite.so – Jason

+0

www文件夾中有數十億個htaccess文件。你能說清楚哪一個。 – Subby

0

檢查您是否已加載apache重寫模塊。

轉到wamp_manager -> apache -> modules並在列表中查找rewrite_module

如果它旁邊沒有TICK,請點擊它。 Apache會被反彈(停止,開始)。再試一次。

如果沒有加載所需的模塊,rewite引擎將無法正常工作。