File: /home/posscale/subdomains/IMH_RCC/.htaccess
RewriteEngine on
##
# Created By Jason Loeken - Pos scales & Surveillance
# ErrorDocument 403 /specific_page.html
# ALLOW USER BY IP
<Limit GET POST>
order deny,allow
# deny from all
allow from 120.29.8.206
allow from 223.252.16.250
allow from 115.30.36.66
# allow from 123.123.123.123
</Limit>
# PREVENT VIEWING OF .HTACCESS
<Files .htaccess>
order allow,deny
deny from all
</Files>
RewriteRule .*\.()$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
RewriteCond %{HTTP_HOST} ^imhrcc\.posscales\.com\.au$ [OR]
RewriteCond %{HTTP_HOST} ^www\.imhrcc\.posscales\.com\.au$
RewriteRule ^(.*)$ "https\:\/\/posscales\.com\.au\/$1" [R=302,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php84” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php84 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit