1 Star 0 Fork 222

sihongwang / eyoucms(企业_商城_小程序_易优CMS)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.htaccess 1014 Bytes
一键复制 编辑 原始数据 按行查看 历史
赞赞网络 提交于 2021-06-01 09:28 . v1.5.4
<IfModule dir_module>
#生成静态模式下,设置默认首页为 index.html
#DirectoryIndex index.html index.php index.htm
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
#http跳转到https
#RewriteCond %{SERVER_PORT} !^443$
#RewriteRule ^(.*)$ https://www.xxxxx.com/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L]
#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
#禁止指定脚本的运行
RewriteCond % !^$
RewriteRule data/(.*).(php|php3|php4|php5|php6|php7|pht|phtml|asp|aspx|jsp|exe|js|sql|perl|cgi|asa)$ – [F]
RewriteRule template/(.*).(php|php3|php4|php5|php6|php7|pht|phtml|asp|aspx|jsp|exe|perl|cgi|asa)$ – [F]
RewriteRule uploads/(.*).(php|php3|php4|php5|php6|php7|pht|phtml|asp|aspx|jsp|exe|js|perl|cgi|asa)$ – [F]
</IfModule>
PHP
1
https://gitee.com/wangsihongsh/eyoucms.git
git@gitee.com:wangsihongsh/eyoucms.git
wangsihongsh
eyoucms
eyoucms(企业_商城_小程序_易优CMS)
master

搜索帮助