#enable mod_rewrite
RewriteEngine On

#Alternate default index page
DirectoryIndex home.html


# ask Apache to remove www in order to preserve PageRank
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>

# removes the .html extension
RewriteRule ^([^\.]+)$ $1.html [NC,L]

# Deny public access to php5.ini
# <Files php5.ini>
# order allow,deny
# deny from all
# </Files>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
