1 Star 0 Fork 0

yuhjphp/问题总结

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.htaccess 799 Bytes
一键复制 编辑 原始数据 按行查看 历史
yuhjphp 提交于 2022-10-07 13:45 . win htaccess
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
#????saas??????
RewriteCond %{REQUEST_URI} ^/saas/
RewriteRule ^saas/(.*?)/(.*)$ $2?_saas_app=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,QSA,E=PATH_INFO:$1]
RewriteCond %{SCRIPT_FILENAME} \.php [NC]
RewriteCond % !^$
RewriteRule ^/?application/.*\.php - [F]
RewriteRule ^/?backup/.*\.php - [F]
#RewriteRule ^/?install/.*\.php - [F]
RewriteRule ^/?miniapp/.*\.php - [F]
RewriteRule ^/?runtime/.*\.php - [F]
RewriteRule ^/?template/.*\.php - [F]
RewriteRule ^/?addons/.*\.php - [F]
#RewriteRule ^/?.*\.php index.php [NC]
#Authorization Headers
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/yuhjphp/wenti.git
git@gitee.com:yuhjphp/wenti.git
yuhjphp
wenti
问题总结
master

搜索帮助