请求www.domainname.com domainname.com应该显示index.html,而不是像现在这样显示index.php。
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
我尝试向文件中添加DirectoryIndex.html,但没有成功。我怀疑这与modu重写的东西有关,但作为一个apache-n00b,我真的只是在抓救命稻草。