Salve, ho creato un htaccess per gestire gli errori delle pagine, solamente che non riesco a farlo funzionare. Ho un hosting windows su aruba, lo carico all'interno della cartella nomedominio.com/, dove c'è la index.html per intenderci.

Cosa sbaglio??

codice:
//Rewrite to www
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z,0-9,A-Z,_-]+)$ ./$1.php

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z,0-9,A-Z,_-]+)$ ./$1.html

//Custom 400 errors
ErrorDocument 400 index.html

//Custom 401 errors
ErrorDocument 401 index.html

//Custom 403 errors
ErrorDocument 403 index.html

//Custom 404 errors
ErrorDocument 404 index.html

//Custom 500 errors
ErrorDocument 500 index.html

//Prevent viewing of .htaccess file
<Files .htaccess>
order allow,deny
deny from all
satisfy all
</Files>

//Prevent directory listings
Options All -Indexes