ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

云服务器常用网站伪静态规则

2021-03-12 18:30:20  阅读:272  来源: 互联网

标签:RewriteRule php EOF 静态 html KaTeX 规则 服务器 RewriteCond


Discuz X3.2
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^topic-(.+).html$ portal.php?mod=topic&topic=KaTeX parse error: Expected 'EOF', got '&' at position 2: 1&̲%1 RewriteCond …
RewriteRule ^article-([0-9]+)-([0-9]+).html$ portal.php?mod=view&aid=$1&page=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^forum-(\w+)-([0-9]+).html$ forum.php?mod=forumdisplay&fid=$1&page=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+).html$ forum.php?mod=viewthread&tid=$1&extra=page%3D$3&page=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^group-([0-9]+)-([0-9]+).html$ forum.php?mod=group&fid=$1&page=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^space-(username|uid)-(.+).html$ home.php?mod=space&$1=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^blog-([0-9]+)-([0-9]+).html$ home.php?mod=space&uid=$1&do=blog&id=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^archiver/(fid|tid)-([0-9]+).html$ archiver/index.php?action=$1&value=KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 RewriteCond …
RewriteRule ^([a-z]+[a-z0-9_]
)-([a-z0-9_-]+).html$ plugin.php?id=$1:KaTeX parse error: Expected 'EOF', got '&' at position 2: 2&̲%1 **Wordpress*… - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Typecho
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
来源:https://www.niaoyun.com/docs/16453.html/?utm_source=c-c

标签:RewriteRule,php,EOF,静态,html,KaTeX,规则,服务器,RewriteCond
来源: https://blog.csdn.net/weixin_52730346/article/details/114702607

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有