![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/ |
Options -MultiViews -Indexes <IfModule mod_rewrite.c> RewriteEngine On ########## REDIRECT TO WWW AND HTTPS #RewriteCond %{HTTP_HOST} !^www\. [NC] #RewriteRule (.*) https://www.%{HTTP_HOST}/$1 [L,R=301] # ########## REDIRECT TO HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ########## SET SITE TO UNDERCONSTRUCTION WITH IPS LISTED ABLE TO SEE SITE # RewriteCond %{REMOTE_ADDR} !ip-here # RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^(.*)$ /under-construction/index.php [R=302,L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(css|js|images|font|fonts)/(.*)$ public/$1/$2 [L,NC] </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php82” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php82 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit