FRED5DON/decii/master/.htaccess
#Apache
#<IfModule mod_rewrite.c>
# <IfModule mod_negotiation.c>
# Options -MultiViews
# </IfModule>
#
# # [R] 重定向
# # [NE] 在输出中不对URI作转义
# # [NC] 不区分大小写
# # [F] 强制URL为被禁止的 forbidden
# # [G] 强制URL为已废弃的 gone
# # [L] 最后一个规则 last
# # [C] 与下一个规则相链接 chained
# # [QSA] 追加请求串 query string append
# RewriteEngine On
#
# # Redirect Trailing Slashes If Not A Folder...
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)/$ index.php?&%{QUERY_STRING} [L,R=301]
#
# # Handle Front Controller...
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^ index.php [L]
#
# # Handle Authorization Header
# RewriteCond %{HTTP:Authorization} .
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#</IfModule>
#Nginx
rewrite ^/(w+).([a-zA-Z]+)$ /public/templates/$1.$2 break;
rewrite ^(.*)$ /index.php?r=$1 last;
On Github License
Files