给自己顶一下 顺便说下 500错误是不是伪静态的原因
这是我主站的伪静态
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^(1fa\.cc)(:80)? [NC]
- RewriteRule ^(.*) http://www.1fa.cc/$1 [R=301,L]
- order deny,allow
- RewriteRule ^xs/([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
- RewriteRule ^xs/([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
- RewriteRule ^xs/top.html$ /modules/article/toplist.php?sort=allvisit
- RewriteRule ^xs/new.html$ /modules/article/toplist.php?sort=lastupdate
- RewriteRule ^xs(/*|/index.html)?$ /modules/article/index.php
- RewriteRule ^([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
- RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
- RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
- RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
- RewriteRule ^xs/([a-z0-9]+)-([a-z0-9]+)-([a-z0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ /modules/article/index.php?class=$1&sort=$2&initial=$3&sizelevel=$4&commend=$5&attribute=$6&status=$7&order=$8&page=$9
- RewriteRule ^modules/article/templates/$ 404.html
- RewriteRule ^templates/(.*).html$ 404.html
- RewriteRule ^themes/17mb/(.*).html$ 404.html
- RewriteRule ^17mb/(.*).html$ 404.html
复制代码
这是我手机站的伪静态
- RewriteEngine On
- RewriteRule ^top/$ /top.php
- RewriteRule ^top/([a-z]+)_([0-9]+)/$ /top.php?type=$1&page=$2
- RewriteRule ^sort/$ /sort.php
- RewriteRule ^sort/([0-9]+)_([0-9]+)/$ /sort.php?sortid=$1&page=$2
- RewriteRule ^full/$ /full.php?page=1
- RewriteRule ^full/([0-9]+)/$ /full.php?page=$1
- RewriteRule ^book/([0-9]+)/$ /info.php?aid=$1
- RewriteRule ^([0-9]+)/([0-9]+)/$ /chapterlist.php?aid=$2&page=1
- RewriteRule ^([0-9]+)/([0-9]+)_([0-9]+)/$ /chapterlist.php?aid=$2&page=$3
- RewriteRule ^([0-9]+)/([0-9]+)_([0-9]+)_1/$ /chapterlist.php?aid=$2&page=$3&desc=1
- RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /chapter.php?aid=$2&cid=$3
- RewriteRule ^author/(.*)$ /author.php?author=$1
- RewriteRule ^17mb/templates/$ /404.html
- RewriteRule ^17mb/templates/(.*)$ /404.html
复制代码
|