/
home2
/
gulfphot
/
public_html
/
New Directory
Upload File
HOME
# Use PHP7.2 as default AddHandler application/x-httpd-ea-php72 .php RewriteEngine On RewriteCond %{HTTP_HOST} gulffiberoptics\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://gulffiberoptics.com/$1 [R,L] RewriteEngine on AddHandler application/x-httpd-ea-php54 .php <IfModule mod_rewrite.c> ## uncomment the following line, if you are having trouble ## getting no_script_name to work RewriteBase / ## no, so we redirect to our front web controller ## Block start engine when request static file #RewriteCond %{REQUEST_FILENAME} !\.(png|gif|jpg|jpeg|css|js|tpl.html|less|twig)$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !\.(png|gif|jpg|jpeg|css|js|less|twig)$ 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 ^(.*)$ index.php [QSA,L] </IfModule> <IfModule mod_expires.c> <FilesMatch ".(png|gif|jpg|jpeg|css|js)$"> ExpiresActive on ExpiresDefault "access plus 7 days" </FilesMatch> <FilesMatch ".(less|twig)$"> ExpiresActive off </FilesMatch> </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php56” package as the default “PHP” programming language. <IfModule mime_module> </IfModule> # php -- END cPanel-generated handler, do not edit