服务器重新做系统后,伪静态打不开
服务器重新做系统后,伪静态打不开,其它设置的跟原来是一模一样的,就是重新做了系统,然后打开就是404
ErrorDocument 404 /404.html
# RewriteEngine
RewriteEngine On
# § /discuz § /discuz /
RewriteBase /
# Rewrite
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^z-(.+)$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^a-([0-9]+)-([0-9]+)$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^list-(\w+)-([0-9]+)$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^view-([0-9]+)-([0-9]+)-([0-9]+)$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^g-([0-9]+)-([0-9]+)$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^blog-([0-9]+)-([0-9]+)$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(fid|tid)-([0-9]+)$ archiver/index.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)$ plugin.php?id=$1 2&%1
规则也是这样的,都没有改过,宝塔面板也打开了伪静态X3的
ErrorDocument 404 /404.html
# RewriteEngine
RewriteEngine On
# § /discuz § /discuz /
RewriteBase /
# Rewrite
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^z-(.+)$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^a-([0-9]+)-([0-9]+)$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^list-(\w+)-([0-9]+)$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^view-([0-9]+)-([0-9]+)-([0-9]+)$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^g-([0-9]+)-([0-9]+)$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^blog-([0-9]+)-([0-9]+)$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(fid|tid)-([0-9]+)$ archiver/index.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)$ plugin.php?id=$1
规则也是这样的,都没有改过,宝塔面板也打开了伪静态X3的