我在中期開始了一個項目的工作。我們在Ubuntu上使用Zend Framework,PHP,MySql,Ajax,jQuery和jSon。它正在研究Ubuntu。Zend:.htaccess現在不能在windows上工作如何繼續我的項目?
現在我切換到Windows。我安裝了Wamp,Eclipse,並在我的項目的窗口上創建一個主機(test.dev)。但是,當通過test.dev啓動項目時。它給我在瀏覽器窗口以下錯誤:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
然後我刪除公共/ .htaccess文件,然後再試一次。這次沒有顯示錯誤,但瀏覽器頁面是空白的。我檢查了螢火蟲(Mozilla瀏覽器),並且在CONSOL中沒有響應。
我的.htaccess文件是這樣的:
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
誰能告訴我什麼問題可能是如何解決這個問題。如果您需要其他信息,請告訴我您需要什麼類型的信息來解決此問題。
謝謝
謝謝。我的網站現在通過在httpd.conf中啓用(LoadModule rewrite_module modules/mod_rewrite.so)來工作。但是現在我在ajax鏈接上遇到了問題。無論如何,阿賈克斯問題是另一個問題,我會問另一個問題,如果沒有解決。 – Awan 2010-03-23 17:21:45
不客氣:-) ;;;正如你所說,Ajax問題是另一個問題,這意味着提出另一個問題,關注具體問題並更精確地描述它,應該會給你更多幫助:-) – 2010-03-23 17:23:54
好的。如果我無法解決這個問題,我肯定會問這個問題。但首先我會嘗試自己解決:) – Awan 2010-03-23 17:29:29