
Options -Indexes
ErrorDocument 402 404.html
ErrorDocument 403 404.html
ErrorDocument 404 404.html
ErrorDocument 500 404.html



<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
#RewriteRule ^([a-z]+)\/?$ $1.php [NC]


RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html
#RewriteRule ^([a-z]+)\/?$ $1.html [NC]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.asp -f
RewriteRule ^(.*)$ $1.asp
#RewriteRule ^([a-z]+)\/?$ $1.asp [NC]

</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
<IfModule fcgid_module>
    <IfModule mime_module>
        AddHandler fcgid-script .php .php5 .phtml
        FcgidWrapper /usr/local/cpanel/cgi-sys/ea-php56 .php
        FcgidWrapper /usr/local/cpanel/cgi-sys/ea-php56 .php5
        FcgidWrapper /usr/local/cpanel/cgi-sys/ea-php56 .phtml
    </IfModule>
</IfModule>

# php -- END cPanel-generated handler, do not edit
