Mini Shell
# BEGIN Website Firewall Bypass Prevention
<If "%{HTTP_HOST} == 'lankavirtualacademy.com' || %{HTTP_HOST} == 'www.lankavirtualacademy.com'">
Require ip 208.109.0.0/22
Require ip 192.88.134.0/23
Require ip 185.93.228.0/22
Require ip 2a02:fe80::/29
Require ip 66.248.200.0/22
</If>
# END Website Firewall Bypass Prevention
Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s(.*)/index\.php [NC]
RewriteRule ^ %1 [R=301,L]
# To set your custom php.ini, add the following line to this file:
# suphp_configpath /home/yourusername/path/to/php.ini
# php_value mbstring.func_overload 4 # Required for PWSB support. Please do not uncomment this line.
#AuthType Basic
#AuthName "lanka@121#"
#AuthUserFile "/home/rizant5/.htpasswds/public_html/passwd"
#require valid-user
#Require all granted
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Redirect 301 "/sample.php" "https://lankavirtualacademy.com/demo.php"
Order Deny,Allow
allow from 192.88.134.0/23
allow from 185.93.228.0/22
allow from 66.248.200.0/22
allow from 208.109.0.0/22
allow from 2a02:fe80::/29
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
# 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 php7_module>
php_flag engine On
php_flag short_open_tag On
php_value precision 14
php_value output_buffering Off
php_flag zlib.output_compression Off
php_flag implicit_flush Off
php_value serialize_precision -1
php_flag zend.enable_gc On
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 512M
php_value error_reporting E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
php_flag display_errors Off
php_flag display_startup_errors Off
php_flag log_errors On
php_value log_errors_max_len 1024
php_flag ignore_repeated_errors Off
php_flag ignore_repeated_source Off
php_flag report_memleaks On
php_flag track_errors Off
php_flag html_errors On
php_value error_log "/dev/null"
php_value variables_order "GPCS"
php_value request_order "GP"
php_flag register_argc_argv Off
php_flag auto_globals_jit On
php_value post_max_size 128M
php_value default_mimetype "text/html"
php_value default_charset "UTF-8"
php_value include_path ".:/usr/lib/php:/usr/local/lib/php"
php_value upload_max_filesize 128M
php_value default_socket_timeout 60
php_flag cli_server.color On
php_value SMTP "localhost"
php_value smtp_port 25
php_flag mail.add_x_header On
php_value odbc.defaultlrl 4096
php_value odbc.defaultbinmode 1
php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
php_value ibase.dateformat "%Y-%m-%d"
php_value ibase.timeformat "%H:%M:%S"
php_value mysqli.default_port 3306
php_value pgsql.ignore_notice 0
php_value pgsql.log_notice 0
php_value bcmath.scale 0
php_value session.save_handler "files"
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_flag session.use_strict_mode Off
php_flag session.use_cookies On
php_flag session.use_only_cookies On
php_value session.name "PHPSESSID"
php_flag session.auto_start Off
php_value session.cookie_lifetime 0
php_value session.cookie_path "/"
php_value session.serialize_handler "php"
php_value session.gc_probability 1
php_value session.gc_divisor 1000
php_value session.gc_maxlifetime 1440
php_value session.cache_limiter "nocache"
php_value session.cache_expire 180
php_flag session.use_trans_sid Off
php_value session.hash_function "0"
php_value session.hash_bits_per_character 5
php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
php_flag tidy.clean_output Off
php_flag soap.wsdl_cache_enabled On
php_value soap.wsdl_cache_dir "/tmp"
php_value soap.wsdl_cache_ttl 86400
php_value soap.wsdl_cache_limit 5
php_value date.timezone "America/New_York"
</IfModule>
<IfModule lsapi_module>
php_flag engine On
php_flag short_open_tag On
php_value precision 14
php_value output_buffering Off
php_flag zlib.output_compression Off
php_flag implicit_flush Off
php_value serialize_precision -1
php_flag zend.enable_gc On
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 512M
php_value error_reporting E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
php_flag display_errors Off
php_flag display_startup_errors Off
php_flag log_errors On
php_value log_errors_max_len 1024
php_flag ignore_repeated_errors Off
php_flag ignore_repeated_source Off
php_flag report_memleaks On
php_flag track_errors Off
php_flag html_errors On
php_value error_log "/dev/null"
php_value variables_order "GPCS"
php_value request_order "GP"
php_flag register_argc_argv Off
php_flag auto_globals_jit On
php_value post_max_size 128M
php_value default_mimetype "text/html"
php_value default_charset "UTF-8"
php_value include_path ".:/usr/lib/php:/usr/local/lib/php"
php_value upload_max_filesize 128M
php_value default_socket_timeout 60
php_flag cli_server.color On
php_value SMTP "localhost"
php_value smtp_port 25
php_flag mail.add_x_header On
php_value odbc.defaultlrl 4096
php_value odbc.defaultbinmode 1
php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
php_value ibase.dateformat "%Y-%m-%d"
php_value ibase.timeformat "%H:%M:%S"
php_value mysqli.default_port 3306
php_value pgsql.ignore_notice 0
php_value pgsql.log_notice 0
php_value bcmath.scale 0
php_value session.save_handler "files"
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_flag session.use_strict_mode Off
php_flag session.use_cookies On
php_flag session.use_only_cookies On
php_value session.name "PHPSESSID"
php_flag session.auto_start Off
php_value session.cookie_lifetime 0
php_value session.cookie_path "/"
php_value session.serialize_handler "php"
php_value session.gc_probability 1
php_value session.gc_divisor 1000
php_value session.gc_maxlifetime 1440
php_value session.cache_limiter "nocache"
php_value session.cache_expire 180
php_flag session.use_trans_sid Off
php_value session.hash_function "0"
php_value session.hash_bits_per_character 5
php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
php_flag tidy.clean_output Off
php_flag soap.wsdl_cache_enabled On
php_value soap.wsdl_cache_dir "/tmp"
php_value soap.wsdl_cache_ttl 86400
php_value soap.wsdl_cache_limit 5
php_value date.timezone "America/New_York"
</IfModule>
# END cPanel-generated php ini directives, do not edit
Zerion Mini Shell 1.0