
请问帝国CMS 7.5 默认伪静态规则

-
Apache (.htaccess):
RewriteEngine On ErrorDocument 404 /404.html RewriteBase / # 信息列表 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^listinfo-(.+?)-(.+?)\.html$ /e/action/ListInfo/index\.php\?classid=$1&page=$2 # 信息内容页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^showinfo-(.+?)-(.+?)-(.+?)\.html$ /e/action/ShowInfo\.php\?classid=$1&id=$2&page=$3 # 标题分类列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^infotype-(.+?)-(.+?)\.html$ /e/action/InfoType/index\.php\?ttid=$1&page=$2 # TAGS信息列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tags-(.+?)-(.+?)\.html$ /e/tags/index\.php\?tagname=$1&page=$2 # 评论列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ /e/pl/index\.php\?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6
-
IIS6 (httpd.ini):
[ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # 信息列表 RewriteRule ^(.*)listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index\.php\?classid=$2&page=$3 # 信息内容页 RewriteRule ^(.*)showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo\.php\?classid=$2&id=$3&page=$4 # 标题分类列表页 RewriteRule ^(.*)infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index\.php\?ttid=$2&page=$3 # TAGS信息列表页 RewriteRule ^(.*)tags-(.+?)-(.+?)\.html$ $1/e/tags/index\.php\?tagname=$2&page=$3 # 评论列表页 RewriteRule ^(.*)comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ $1/e/pl/index\.php\?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 # 搜索伪静态
-
IIS7 (web.config):
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <!-- 帝国7.2默认规则 IIS7的rule name不能重复相同 --> <rewrite> <rules> <rule name="listinfo"> <match url="^(.*/)*listinfo-(.+?)-(.+?).html\?*(.*)$" /> <action type="Rewrite" url="{R:1}/e/action/ListInfo/index.php?classid={R:2}&page={R:3}" /> </rule> <rule name="showinfo"> <match url="^(.*/)*showinfo-(.+?)-(.+?)-(.+?).html\?*(.*)$" /> <action type="Rewrite" url="{R:1}/e/action/ShowInfo.php?classid={R:2}&id={R:3}&page={R:4}" /> </rule> <rule name="infotype"> <match url="^(.*/)*infotype-(.+?)-(.+?).html\?*(.*)$" /> <action type="Rewrite" url="{R:1}/e/action/InfoType/index.php?ttid={R:2}&page={R:3}" /> </rule> <rule name="tags"> <match url="^(.*/)*tags-(.+?)-(.+?).html\?*(.*)$" /> <action type="Rewrite" url="{R:1}/e/tags/index.php?tagname={R:2}&page={R:3}" /> </rule> <rule name="comment"> <match url="^(.*/)*comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?).html\?*(.*)$" /> <action type="Rewrite" url="{R:1}/e/pl/index.php?doaction={R:2}&classid={R:3}&id={R:4}&page={R:5}&myorder={R:6}&tempid={R:7}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
-
Nginx:
rewrite ^([^\.]*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last; rewrite ^([^\.]*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last; rewrite ^([^\.]*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last; rewrite ^([^\.]*)/tags-(.+?)-(.+?)\.html$ $1/e/tags/index.php?tagname=$2&page=$3 last; rewrite ^([^\.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ $1/e/pl/index.php?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 last; if (!-e $request_filename) { return 404; }
标签:帝国CMS7.5 dom型xss漏洞 帝国CMS7.5源码下载站整站打包 3.5G带 帝国CMS7.5实现输入密码查看正文信息详细教程 帝国CMS7.5新模版自
更新日期:2025-03-09 00:49:59 来源:网络
下一篇:请问帝国CMS PHP7环境下栏目生成拼音乱码解决方法
上一篇:请问已有环境的服务器上能否安装宝塔Windows面板?

- 请问重置网站后台密码-云服务器问题
- 请问请问如何修改zblog的数据库连接信息?
- 请问高效管理公司网站,选择合适的网站修改工具
- 请问解决虚拟主机预装网站无法访问的问题
- 请问请问如何修改zblog的数据库连接信息以适应新的主机环境?
- 请问重置网站后台密码的正确途径
- 请问解决网站频繁出现 500 内部服务器错误的方法
- 请问移动端安全 - 正确修改移动端网站密码的方法与技巧
- 请问帝国CMS进阶 - 修改帝国管理网站模板的详细步骤与实用技巧
- 请问网站升级数据迁移之后无法访问
- 如何解决PbootCMS网站后台推送文章到百度时的“site error”错误?
- 网站admin密码忘记了怎么办
- 宝塔面板提示不是安全连接或私密连接,如何解决?
- 迅睿CMS网站用户投稿如何取消验证码
- {pboot:sql sql="语句"}[sql:字段]{/pboot:sql}万能循环标签使用介绍
- 网站提示429 Too Many Requests:用户发送了太多请求怎么办
- PbootCMS上传文件大小限制
- 如何优化网站站长信息 - 提升SEO表现与用户体验的最佳实践
- 易优cms搜索结果页如何统计关键词文章数量
- 网站源码安装后访问首页,页面错乱的处理方法
- 重置网站后台管理员账号密码
- 百度网址安全中心提醒您:该页面可能存在违法信息!如何处理?
- pbootcms模板如何做好防护
- pbootcms如何设置发布内容不自动提取缩略图(1)
- 网站提示422 Unprocessable Entity:请求格式正确但请求无法被处理怎么办
- 升级完后网站提示500错误怎么办
- Pbootcms留言“提交成功”的提示语修改(1)
- 易优cms数据表或视图不存在,请联系技术处理。
- Nginx 启动/停止 / 首页显示 / 安装 / 卸载
- PBOOTCMS中新增并开启手机端模板,以便为用户提供更好的移动设备浏览体验