# Disable index view
Options -Indexes

# Hide a specific file
<Files .env>
    Order allow,deny
    Deny from all
</Files>
RewriteEngine on


<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    # Handle Authorization Header

#RewriteCond %{SERVER_PORT} 80 
#RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
#RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
#RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
#RewriteRule ^(.*)$ https://www.velocity8club.com/$1 [R,L] 


	RewriteCond %{HTTPS} off [OR]
	RewriteCond %{HTTP_HOST} ^www\.velocity8club\.com [NC]
	RewriteRule (.*) https://velocity8club.com/$1 [L,R=301]



   
    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
   
</IfModule>





  

<IfModule lsapi_module>

php_value allow_url_fopen On

</IfModule>

# END cPanel-generated php ini directives, do not edit



## EXPIRES CACHING



# 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

