我的.htaccess文件無法正常工作。我已經檢查過它在根目錄下。我也證實它的代碼是正確的。當我在.htaccess中輸入隨機字母/數字時,我不會收到500錯誤。當我打開我的Apache錯誤日誌,它給了我這個錯誤:.htaccess按預期工作
[Mon Jan 16 20:28:37 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Jan 16 20:28:41 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 16 20:28:41 2012] [notice] Digest: done
[Mon Jan 16 20:28:44 2012] [notice] Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
我不知道該怎麼做。
的http.conf:
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
「不工作」是什麼意思?預期的行爲是什麼?那實際的行爲是什麼?你的'.htaccess'文件的內容是什麼? – Arjan
@Arjan請看我更新的問題。謝謝 – kirby
「'你的.htaccess文件的內容是什麼?'」 – Gerben