2 ErrorDocument 401 default
3 ErrorDocument 403 default
4 ErrorDocument 404 default
5 ErrorDocument 500 default
9 # Explicitly rewrite DirectoryIndex
10 RewriteRule ^$ index.html
11 RewriteRule !.html$ - [L]
12 RewriteCond %{REQUEST_FILENAME} !-f
13 RewriteRule ^(.+\.html)$ main.php?f=$1 [L,PT]