Issue in redirecting non www to www and index.html to root
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.mydomain\.net)?$
RewriteRule (.*) http://www.mydomain.net/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html?\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html?$ http://www.mydomain.net/$1 [R=301,L]
>> I offer WHMCS Setup, Updates & Technical Support <<