# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymlinks
Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /

ErrorDocument 404 http://www.virteluk.com/error404.html
ErrorDocument 500 http://www.virteluk.com/error505.html


RewriteCond %{HTTP_HOST}   !^www\.virteluk\.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/?(.*)         http://www.virteluk.com/$1 [L,R,NE]

<Files .htaccess>
order allow,deny
deny from all
</Files>


#AddType text/html *.html *.htm

#RewriteCond %{HTTP_HOST} ^virteluk\.com$ [NC]
#RewriteRule ^(.*)$ http://www.virteluk.com/$1 [R=301,L]

RewriteRule ^(.*)\.html(.*)$ $1\.php$2
