Tuesday, April 24, 2012

Wordpress 出現403 forbidden的解決辦法

安裝完wordpress后,安裝可以正常進行,但是blog不能正常瀏覽,出現403 forbidden。 現在根據我自己的經驗列出一個可以選擇的方法。
找到apache的配置文件httpd.conf,找到下面這幾行:

<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>


添加一個index.php,也就是說變成
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

重新啟動apache。問題解決。

Labels:

0 Comments:

Post a Comment

<< Home