当前位置:论坛首页 > Windows面板 > 求助

【求助】绑定主站点500错误 手机站点正常

发表在 Windows面板2017-8-4 19:17 [复制链接] 4 7605

本帖最后由 隆裕泰枸杞 于 2017-8-5 16:34 编辑

win 2003 64位      宝塔apache版 PHP5.2  增加网站 主站增加上就500错误  但是同数据的手机站就正常
使用道具 举报 只看该作者 回复
发表于 2017-8-5 12:53:59 | 显示全部楼层
给自己顶一下  顺便说下    500错误是不是伪静态的原因
这是我主站的伪静态

  1. RewriteEngine on
  2. RewriteCond %{HTTP_HOST} ^(1fa\.cc)(:80)? [NC]
  3. RewriteRule ^(.*) http://www.1fa.cc/$1 [R=301,L]
  4. order deny,allow
  5. RewriteRule ^xs/([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
  6. RewriteRule ^xs/([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
  7. RewriteRule ^xs/top.html$ /modules/article/toplist.php?sort=allvisit
  8. RewriteRule ^xs/new.html$ /modules/article/toplist.php?sort=lastupdate
  9. RewriteRule ^xs(/*|/index.html)?$ /modules/article/index.php
  10. RewriteRule ^([0-9]+)/([0-9]+)/$ /modules/article/reader.php?aid=$2
  11. RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
  12. RewriteRule ^([0-9]+)/([0-9]+)/index.html$ /modules/article/reader.php?aid=$2
  13. RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3
  14. 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
  15. RewriteRule ^modules/article/templates/$ 404.html
  16. RewriteRule ^templates/(.*).html$ 404.html
  17. RewriteRule ^themes/17mb/(.*).html$ 404.html
  18. RewriteRule ^17mb/(.*).html$ 404.html
复制代码

这是我手机站的伪静态

  1. RewriteEngine On
  2. RewriteRule ^top/$ /top.php
  3. RewriteRule ^top/([a-z]+)_([0-9]+)/$ /top.php?type=$1&page=$2
  4. RewriteRule ^sort/$ /sort.php
  5. RewriteRule ^sort/([0-9]+)_([0-9]+)/$ /sort.php?sortid=$1&page=$2
  6. RewriteRule ^full/$ /full.php?page=1
  7. RewriteRule ^full/([0-9]+)/$ /full.php?page=$1
  8. RewriteRule ^book/([0-9]+)/$ /info.php?aid=$1
  9. RewriteRule ^([0-9]+)/([0-9]+)/$ /chapterlist.php?aid=$2&page=1
  10. RewriteRule ^([0-9]+)/([0-9]+)_([0-9]+)/$ /chapterlist.php?aid=$2&page=$3
  11. RewriteRule ^([0-9]+)/([0-9]+)_([0-9]+)_1/$ /chapterlist.php?aid=$2&page=$3&desc=1
  12. RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+).html$ /chapter.php?aid=$2&cid=$3
  13. RewriteRule ^author/(.*)$ /author.php?author=$1
  14. RewriteRule ^17mb/templates/$ /404.html
  15. RewriteRule ^17mb/templates/(.*)$ /404.html
复制代码



使用道具 举报 回复 支持 反对
发表于 2017-8-5 16:29:27 | 显示全部楼层
为什么没人解答呢?
使用道具 举报 回复 支持 反对
发表于 2017-8-6 01:23:06 | 显示全部楼层
12.jpg
还是500错误

使用道具 举报 回复 支持 反对
发表于 2017-8-6 01:46:10 | 显示全部楼层
找到原因了   是伪静态的问题,重新写了伪静态  已经解决!
去掉了
  1. order deny,allow
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表