
RewriteOptions inherit
#suPHP_ConfigPath /home/singhui/public_html/

RewriteEngine on

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

deny from 163.172.0.0/16
deny from 46.229.0.0/16
deny from 203.209.0.0/16

deny from 42.120.0.0/16
deny from 42.156.0.0/16
deny from 164.132.0.0/16
deny from 51.255.0.0/16

deny from 134.249.0.0/16
deny from 178.137.0.0/16
deny from 46.118.0.0/16

RewriteCond %{HTTP_REFERER} !^http://singhui.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://singhui.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.singhui.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.singhui.com$      [NC]
RewriteCond %{HTTP_REFERER} !^https://singhui.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://singhui.com$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.singhui.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.singhui.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

RewriteCond %{HTTP_HOST} ^singhui\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.singhui\.com$
RewriteRule ^/?$ "http\:\/\/www\.singhui\.com\/phpbb" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/www\.singhui\.com\/phpbb" [R=301,L]

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php8_module>
   php_flag display_errors Off
   php_value max_execution_time 300
   php_value max_input_time 600
   php_value max_input_vars 1000
   php_value memory_limit 1024M
   php_value post_max_size 1024M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php80"
   php_value upload_max_filesize 1024M
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 300
   php_value max_input_time 600
   php_value max_input_vars 1000
   php_value memory_limit 1024M
   php_value post_max_size 1024M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php80"
   php_value upload_max_filesize 1024M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

deny from 36.138.0.0/16
deny from 36.212.0.0/16
deny from 36.137.0.0/16
deny from 36.134.0.0/16
deny from 36.133.0.0/16
deny from 36.213.0.0/16
deny from 36.139.0.0/16
deny from 36.140.0.0/16
deny from 74.7.0.0/16
deny from 145.223.0.0/16

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
deny from 220.191.0.0/16
deny from 171.12.0.0/16
