Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([0-9a-zA-Z\ \-_]*).html$ index.php?pagename=$1 [L]
IndexIgnore *
DirectoryIndex index.php