DirectoryIndex not working because of mod_rewrite?

Posted by Kjensen on Stack Overflow See other posts from Stack Overflow or by Kjensen
Published on 2010-05-12T16:38:57Z Indexed on 2010/05/12 16:44 UTC
Read the original article Hit count: 328

Filed under:
|

Requests to www.domainname.com and domainname.com should display index.html, not index.php as it does now.

This is the .htaccess file:

# -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

I tried adding a DirectoryIndex index.html to the file, but that did not work. I suspect that has something to do with the mod_rewrite stuff, but being an apache-n00b I am really just grasping for straws.

Can I add a rewriterule, or what should I do?

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about apache