File: /home/posscale/subdomains/ccm/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
# Modify the RewriteBase if you are in a subdirectory and the
# rewrite rules are not working properly:
# RewriteBase /~cartcom/
#RewriteBase /
# Rewrite URLs of the form 'index.php?uri=x':
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?uri=$1 [L,QSA]
</IfModule>
RewriteRule .*\.()$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
RewriteCond %{HTTP_HOST} ^ccm\.posscales\.com\.au$ [OR]
RewriteCond %{HTTP_HOST} ^www\.ccm\.posscales\.com\.au$
RewriteRule ^(.*)$ "https\:\/\/posscales\.com\.au\/$1" [R=302,L]
# 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