Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

uchome无法登陆后台

[复制链接]
旅游精灵 发表于 2009-11-10 10:16:03 | 显示全部楼层 |阅读模式
安装使用后我一直无法登陆后台。经查是程序自动加上了/u/红色部分!如图


我怀疑是httpd.ini配置,有问题
  1. [ISAPI_Rewrite]
  2. RewriteCond Host: bbs\.xxx\.com\.cn
  3. # 表示下一行规则只对 bbs.xxx.com.cn 生效(正则表达式中 \. 表示 . 本身)。
  4. RewriteRule ^(.*)$ /bbs/$1 [I]
  5. # 表示将所有网页 Rewrite 到 bbs 文件夹中,[I]表示忽略大小写。
  6. RewriteCond Host: news\.xxx\.com\.cn
  7. # 表示下一行规则只对 news.xxx.com.cn 生效(正则表达式中 \. 表示 . 本身)。
  8. RewriteRule ^(.*)$ /news/$1 [I]
  9. # 表示将所有网页 Rewrite 到 news 文件夹中,[I]表示忽略大小写。
  10. RewriteCond Host: baike\.xxx\.com\.cn
  11. # 表示下一行规则只对 baike.xxx.com.cn 生效(正则表达式中 \. 表示 . 本身)。
  12. RewriteRule ^(.*)$ /baike/$1 [I]
  13. # 表示将所有网页 Rewrite 到 baike 文件夹中,[I]表示忽略大小写。
  14. RewriteCond Host: u\.xxx\.com\.cn
  15. # 表示下一行规则只对 u.xxx.com.cn 生效(正则表达式中 \. 表示 . 本身)。
  16. RewriteRule ^(.*)$ /u/$1 [I]
  17. # 表示将所有网页 Rewrite 到 u 文件夹中,[I]表示忽略大小写。
  18. # 3600 = 1 hour
  19. CacheClockRate 3600
  20. RepeatLimit 32

  21. # Protect httpd.ini and httpd.parse.errors files
  22. # from accessing through HTTP
  23. RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
  24. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
  25. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
  26. RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
  27. RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3

  28. RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
  29. RewriteRule ^/(space|network)\.html$ /$1\.php [L]
  30. RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]
复制代码


还有出现一个很奇怪的问题 在启用静态化的时候。bbs的静态化可以使用,但是uchome的静态化就会出错!
希望各位能抽空帮忙看看~谢谢~
回复

使用道具 举报

玻璃屋女孩 发表于 2009-11-10 10:54:04 | 显示全部楼层
回复

使用道具 举报

云天一 发表于 2009-11-10 13:54:50 | 显示全部楼层
后台开始了二级域名了吗?
回复

使用道具 举报

 楼主| 旅游精灵 发表于 2009-11-10 19:24:20 | 显示全部楼层
rewrite配置参考一下
apache
玻璃屋女孩 发表于 2009-11-10 10:54



    这篇文章我参悟了很多次,也按规定来了就是不行,我也不知道问题出现在那里!还有为什么程序会自动加上/u/这样的文件夹名呢?
回复

使用道具 举报

 楼主| 旅游精灵 发表于 2009-11-10 19:28:35 | 显示全部楼层
3# 云天一


    我没有开启二级域名~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-15 11:22 , Processed in 0.138575 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表