Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
3.0 kB
1
Indexable
Never
# Helicon Ape version 3.1.0.115
RewriteEngine On

#RewriteCond %{HTTPS} on
RewriteRule duyetsms2021.php http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteRule ^adminlogin$ admin/login.php
RewriteRule ^processlogin$ admin/processlogin.php
RewriteRule ^area/adminarea$ admin/index.php?controller=dashboard&action=index&area=admin

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)$ admin/index.php?controller=$1&action=index&area=admin 

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)&(.*)$ admin/index.php?controller=$1&action=index&area=admin&$2 

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ admin/index.php?controller=$1&action=$2&area=admin

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)&(.*)$ admin/index.php?controller=$1&action=$2&area=admin&$3

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(.*)$ admin/index.php?controller=$1&action=$2&id=$3&area=admin

RewriteRule ^area/adminarea/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([0-9]+)&(.*)$ admin/index.php?controller=$1&action=$2&id=$3&area=admin&$4 

RewriteRule ^bai-viet/([a-zA-Z0-9_-]+).html$ index.php?controller=article&action=detail&alias=$1

RewriteRule ^$ index.php?controller=home&action=index

RewriteRule ^([a-zA-Z0-9_-]+).html$ index.php?controller=article&action=getbycategory&alias=$1
RewriteRule ^([a-zA-Z0-9_-]+).html&(.*)$ index.php?controller=article&action=getbycategory&alias=$1&$2

RewriteRule ^([a-zA-Z0-9_]+)$ index.php?controller=$1&action=index
RewriteRule ^([a-zA-Z0-9_]+)&(.*)$ index.php?controller=$1&action=index&$2

RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?controller=$1&action=$2
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)&(.*)$ index.php?controller=$1&action=$2&$3

RewriteRule ^([a-zA-Z0-9_]+)/([0-9])$ index.php?controller=$1&action=index&id=$2
RewriteRule ^([a-zA-Z0-9_]+)/([0-9])&(.*)$ index.php?controller=$1&action=index&id=$2&$3

RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([0-9])$ index.php?controller=$1&action=$2&id=$3
RewriteRule ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([0-9])&(.*)$ index.php?controller=$1&action=$2&id=$3&$4

ErrorDocument 404 /pages/404.html
ErrorDocument 500 /pages/500.html
ErrorDocument 403 /pages/403.html
# 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 php5_module>
   php_flag asp_tags Off
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value session.gc_maxlifetime 1440
   php_value upload_max_filesize 20M
</IfModule>
# END cPanel-generated php ini directives, do not edit