1 Star 0 Fork 8

傅道集 / 云优CMS企业分站管理系统

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
.htaccess 5.25 KB
Copy Edit Web IDE Raw Blame History
湘子 authored 2020-07-11 15:24 . 2.1.6
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
ErrorDocument 404 /404.htm
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.htm
RewriteRule ^phpMyAdmin/(.*)$ phpMyAdmin/$1 [QSA,PT,L]
RewriteRule ^404.htm$ index.php?s=index/index/empty404 [QSA,PT,L]
RewriteRule ^admin/(.*).html$ index.php?s=admin/$1 [QSA,PT,L]
RewriteRule ^admin/(.*)$ index.php?s=admin/$1 [QSA,PT,L]
RewriteRule ^config/(.*)$ /404.htm [QSA,PT,L]
RewriteRule ^statics/ueditor/dialogs/(.*)/(.*).html$ statics/ueditor/dialogs/$1/$2.html [QSA,PT,L]
RewriteRule ^m/$ index.php?s=wap/index/index [QSA,PT,L]
RewriteRule ^m/myform/$ index.php?s=wap/myform/index [QSA,PT,L]
RewriteRule ^m/captcha/(\d*)$ index.php?s=wap/myform/captcha&id=$1 [QSA,PT,L]
RewriteRule ^m/search/$ index.php?s=wap/search/index [QSA,PT,L]
RewriteRule ^m/(.*)_search/$ index.php?s=wap/search/index&area=$1 [QSA,PT,L]
RewriteRule ^m/tag/([\s\S]*)$ index.php?s=wap/tag/index&title=$1 [QSA,PT,L]
RewriteRule ^m/(.*)_tag/([\s\S]*)$ index.php?s=wap/tag/index&title=$2&area=$1 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*)_(.*)/(.*)_(.*).html$ index.php?s=wap/show/index&etitle=$4&ctitle=$1/$3&area=$2&cw=$5 [QSA,PT,L]
RewriteRule ^m/(.*)_(.*)/(.*)_(.*).html$ index.php?s=wap/show/index&etitle=$3&ctitle=$2&area=$1&cw=$4 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*)_(.*)/(.*).html$ index.php?s=wap/show/index&etitle=$4&ctitle=$1/$3&area=$2 [QSA,PT,L]
RewriteRule ^m/(.*)_(.*)/(.*).html$ index.php?s=wap/show/index&etitle=$3&ctitle=$2&area=$1 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*)_(.*).html$ index.php?s=wap/show/index&etitle=$2&ctitle=$1&cw=$3 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*).html$ index.php?s=wap/show/index&etitle=$2&ctitle=$1 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*)_(.*)/$ index.php?s=wap/category/index&ctitle=$1/$3&area=$2 [QSA,PT,L]
RewriteRule ^m/(.*)_(.*)/$ index.php?s=wap/category/index&ctitle=$2&area=$1 [QSA,PT,L]
RewriteRule ^m/(.*)/(.*)_(.*)/page/(\d*)$ index.php?s=wap/category/index&ctitle=$1/$3&area=$2&page=$4 [QSA,PT,L]
RewriteRule ^m/(.*)_(.*)/page/(\d*)$ index.php?s=wap/category/index&ctitle=$2&area=$1&page=$3 [QSA,PT,L]
RewriteRule ^m/(.*)/$ index.php?s=wap/category/index&ctitle=$1 [QSA,PT,L]
RewriteRule ^m/(.*)/page/(\d*)$ index.php?s=wap/category/index&ctitle=$1&page=$2 [QSA,PT,L]
RewriteRule ^m/(.*).html$ index.php?s=wap/index/index&area=$1 [QSA,PT,L]
RewriteRule ^index(.*)/$ index.php?s=index/index/index/$1 [QSA,PT,L]
RewriteRule ^myform/$ index.php?s=index/myform/index [QSA,PT,L]
RewriteRule ^(.*)_myform/$ index.php?s=index/myform/index&area=$1 [QSA,PT,L]
RewriteRule ^captcha/(\d*)$ index.php?s=index/myform/captcha&id=$1 [QSA,PT,L]
RewriteRule ^(.*)_captcha/(\d*)$ index.php?s=index/myform/captcha&area=$1&id=$2 [QSA,PT,L]
RewriteRule ^search/$ index.php?s=index/search/index [QSA,PT,L]
RewriteRule ^search/page/(\d*)$ index.php?s=index/search/index&page=$1 [QSA,PT,L]
RewriteRule ^search/key/(.*)/page/(\d*)$ index.php?s=index/search/index&key=$1&page=$2 [QSA,PT,L]
RewriteRule ^(.*)_search/$ index.php?s=index/search/index&area=$1 [QSA,PT,L]
RewriteRule ^(.*)_search/page/(\d*)$ index.php?s=index/search/index&area=$1&page=$2 [QSA,PT,L]
RewriteRule ^(.*)_search/key/(.*)/page/(\d*)$ index.php?s=index/search/index&area=$1&key=$2&page=$3 [QSA,PT,L]
RewriteRule ^(.*)_tag/([\s\S]*)/page/(\d*)$ index.php?s=index/tag/index&title=$2&area=$1&page=$3 [QSA,PT,L]
RewriteRule ^(.*)_tag/([\s\S]*)$ index.php?s=index/tag/index&title=$2&area=$1 [QSA,PT,L]
RewriteRule ^tag/([\s\S]*)/page/(\d*)$ index.php?s=index/tag/index&title=$1&page=$2 [QSA,PT,L]
RewriteRule ^tag/([\s\S]*)$ index.php?s=index/tag/index&title=$1 [QSA,PT,L]
RewriteRule ^(.*)/(.*)_(.*)/(.*)_(.*).html$ index.php?s=index/show/index&etitle=$4&ctitle=$1/$3&area=$2&cw=$5 [QSA,PT,L]
RewriteRule ^(.*)_(.*)/(.*)_(.*).html$ index.php?s=index/show/index&etitle=$3&ctitle=$2&area=$1&cw=$4 [QSA,PT,L]
RewriteRule ^(.*)/(.*)_(.*)/(.*).html$ index.php?s=index/show/index&etitle=$4&ctitle=$1/$3&area=$2 [QSA,PT,L]
RewriteRule ^(.*)_(.*)/(.*).html$ index.php?s=index/show/index&etitle=$3&ctitle=$2&area=$1 [QSA,PT,L]
RewriteRule ^(.*)/(.*)_(.*).html$ index.php?s=index/show/index&etitle=$2&ctitle=$1&cw=$3 [QSA,PT,L]
RewriteRule ^(.*)/(.*).html$ index.php?s=index/show/index&etitle=$2&ctitle=$1 [QSA,PT,L]
RewriteRule ^(.*)/(.*)_(.*)/$ index.php?s=index/category/index&ctitle=$1/$3&area=$2 [QSA,PT,L]
RewriteRule ^(.*)_(.*)/$ index.php?s=index/category/index&ctitle=$2&area=$1 [QSA,PT,L]
RewriteRule ^(.*)/(.*)_(.*)/page/(\d*)$ index.php?s=index/category/index&ctitle=$1/$3&area=$2&page=$4 [QSA,PT,L]
RewriteRule ^(.*)_(.*)/page/(\d*)$ index.php?s=index/category/index&ctitle=$2&area=$1&page=$3 [QSA,PT,L]
RewriteRule ^(.*)/$ index.php?s=index/category/index&ctitle=$1 [QSA,PT,L]
RewriteRule ^(.*)/page/(\d*)$ index.php?s=index/category/index&ctitle=$1&page=$2 [QSA,PT,L]
RewriteRule ^index.html$ index.php?s=index/index/index [QSA,PT,L]
RewriteRule ^(.*).html$ index.php?s=index/index/index&area=$1 [QSA,PT,L]
</IfModule>

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/fudaoji/yunucms.git
git@gitee.com:fudaoji/yunucms.git
fudaoji
yunucms
云优CMS企业分站管理系统
master

Search