0
我安裝了昨晚WAMP我贏7的筆記本電腦,並開始建立爲我的項目一個小框架,重寫模塊不能正常工作
但是,當我首先加入RewriteEngine敘述上,它只是不工作。所以我檢查模塊是否打開,編輯完conf文件並重新啓動服務器,並檢查了wamp菜單下的apache mods後,我確認它已打開。所以我嘗試再次檢查頁面,但仍然出現內部服務器錯誤。所以我再次檢查conf文件來檢查目錄權限設置,這似乎很好。
那麼我去去錯誤日誌,我發現Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
。我檢查了.so文件是否真的存在。我不知道還有什麼要嘗試的,請在我堅果之前幫助我。
<Directory >
AllowOverride none
Require all denied
</Directory>
<Directory "c:/wamp/www/">
AllowOverride All
Allow From All
Require all granted
</Directory>
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so