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

 找回密码
 立即注册
搜索

[已解决] 关于Ucenter home的主页问题

[复制链接]
kster 发表于 2009-11-4 19:53:47 | 显示全部楼层 |阅读模式
我开启了二级域名 按照方法是没有设置主机头的
现在问题是 domain.com 访问主页 如果输入 www.domain.com 他会识别成用户
我在后台设置的没有登陆不可查看,访问www.domain.com 就会出现,你没有权限查看,请登陆的字样,居然被当成一个匿名用户在查看www用户的主页被拒绝一样。。。
回复

使用道具 举报

云天一 发表于 2009-11-4 19:55:38 | 显示全部楼层
后台 二级域名功能  保留二级域名  
把www加入保留域名
回复

使用道具 举报

 楼主| kster 发表于 2009-11-4 20:00:34 | 显示全部楼层
b7b6e835e2.jpg 保留了的
回复

使用道具 举报

 楼主| kster 发表于 2009-11-4 20:17:25 | 显示全部楼层
和Rewrite 有关吗?

[ISAPI_Rewrite]

CacheClockRate 3600

RepeatLimit 32

RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3

RewriteEngine On
RewriteCond Host: (?!\.|bbs|shop)([a-z0-9]+)\.my72\.com
RewriteRule ^/ /space\.php\?domain=$1$2 [I,L]
RewriteRule ^/([a-z0-9]+)$ /space\.php\?domain=$1 [L]

RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
RewriteRule ^/(space|network)\.html$ /$1\.php [L]
RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]
回复

使用道具 举报

云天一 发表于 2009-11-4 20:21:03 | 显示全部楼层
  1. RewriteRule ^/ /space\.php\?domain=$1$2 [I,L]
复制代码
这条给去了试试
回复

使用道具 举报

 楼主| kster 发表于 2009-11-4 20:23:04 | 显示全部楼层
RewriteCond Host: (?!\.|bbs|shop)([a-z0-9]+)\.my72\.com

改成 RewriteCond Host: (?!\.|bbs|www|mail|blog|shop)([a-z0-9]+)\.my72\.com

问题解决了
回复

使用道具 举报

云天一 发表于 2009-11-4 20:29:37 | 显示全部楼层
RewriteCond Host: (?!\.|bbs|shop)([a-z0-9]+)\.my72\.com

改成 RewriteCond Host: (?!\.|bbs|www|mail ...
kster 发表于 2009-11-4 20:23



    ((em:12))
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-15 07:27 , Processed in 0.094792 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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