Mini Shell

Direktori : /home/rizant5/imh-restored-1210/home/rizant5/public_html/
Upload File :
Current File : //home/rizant5/imh-restored-1210/home/rizant5/public_html/.htaccess

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

Zerion Mini Shell 1.0