<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
#RewriteBase /
# If your website begins from a folder e.g localhost/my_project then 
# you have to change it to: RewriteBase /my_project/
# If your site begins from the root e.g. example.local/ then
# let it as it is
# Protect application and system files from being viewed when the index.php is missing
RewriteCond $1 ^(application|system|private|logs)
# Rewrite to index.php/access_denied/URL
RewriteRule ^(.*)$ index.php/access_denied/$1 [PT,L]
# Allow these directories and files to be displayed directly:
RewriteCond $1 ^(index\.php|robots\.txt|favicon\.ico|public|assets|css|js|images)
# No rewriting
RewriteRule ^(.*)$ - [PT,L]
# Rewrite to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT,L]
php_value memory_limit 30M
php_value post_max_size 100M
php_value upload_max_filesize 30M
</IfModule>

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 66.249.90.2
deny from 1.186.198.103
deny from 49.35.9.111
deny from 103.196.77.195
deny from 171.77.147.96
deny from 66.249.90.55
deny from 49.32.175.225
deny from 13.66.139.19
deny from 54.36.148.66
deny from 192.99.10.39
deny from 157.55.39.31
deny from 66.249.90.57
deny from 213.180.203.35
deny from 203.194.97.205
deny from 13.66.139.58
deny from 103.72.75.227
deny from 49.32.149.95
deny from 106.193.142.24
deny from 103.203.184.59
deny from 49.33.235.217
deny from 103.248.114.204
deny from 66.249.90.59
deny from 40.88.21.235
deny from 59.153.1.178
deny from 66.249.73.121
deny from 66.249.73.123
deny from 66.249.73.119
deny from 114.119.162.58
deny from 54.172.189.49
deny from 66.220.149.5
deny from 42.106.219.227
deny from 13.66.139.18

deny from 219.90.110.140
deny from 106.193.165.201
deny from 150.107.144.108
deny from 103.235.121.130
deny from 66.249.89.99
deny from 66.249.89.96
deny from 66.249.89.103
deny from 163.53.202.65
deny from 72.79.58.112

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
