项目里面有.htaccess文件
代码
adddefaultcharset utf-8 rewriteengine onrewriterule !admin2s|\.(js|ico|gif|jpg|png|css|swf|html|php|pdf|xls)$ index.php
url重写,定义规则的
url重写,定义规则的
AddDefaultCharset utf-8 总是发出 utf-8 头信息
RewriteEngine on 开启 url 重写
RewriteRule !admin2s|\.(js|ico|gif|jpg|png|css|swf|html|php|pdf|xls)$ index.php url 重写规则
url 重写规则是:
除了目录 admin2s 和 图片文件外的所有请求都交由 index.php 处理
AddDefaultCharset utf-8 总是发出 utf-8 头信息
RewriteEngine on 开启 url 重写
RewriteRule !admin2s|\.(js|ico|gif|jpg|png|css|swf|html|php|pdf|xls)$ index.php url 重写规则
url 重写规则是:
除了目录 admin2s 和 图片文件外的所有请求都交由 index.php 处理
AddDefaultCharset utf-8 总是发出 utf-8 头信息
RewriteEngine on 开启 url 重写
RewriteRule !admin2s|\.(js|ico|gif|jpg|png|css|swf|html|php|pdf|xls)$ index.php url 重写规则
url 重写规则是:
除了目录 admin2s 和 图片文件外的所有请求都交由 index.php 处理
xxx.php一定要放在网站根目录
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号