<IfModule mod_rewrite.c>


    <IfModule mod_negotiation.c>


        Options -MultiViews


    </IfModule>


    <Files .env>
        Order allow,deny
        Deny from all
    </Files>


    RewriteEngine On
    RewriteCond     %{SERVER_PORT} ^80$
    RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]


    # Redirect Trailing Slashes...


    RewriteRule ^(.*)/$ /$1 [L,R=301]





    # Handle Front Controller...


    RewriteCond %{REQUEST_FILENAME} !-d


    RewriteCond %{REQUEST_FILENAME} !-f


    RewriteRule ^ index.php [L]


    # <FilesMatch "\.(env|htaccess|htpasswd|ini|phps|fla|psd|log|sh)$">


    # Order Allow,Deny


    # Deny from all


    # </FilesMatch>


</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php55” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php55 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
