如何配置http://junbiao为CS的Url

如何配置http://junbiao为CS的Url
步骤:
1. 和beta1一样,cs_Schema.sql中修改:
where
  C.[Category] is not null 
  and C.[Category] not in (
   Select [Name] FROM forums_Post_Categories where  CategoryType = @CategoryType and ForumID = @ForumID
  )

修改为:
where
  C.[Category] is not null 
  and C.[Category]  COLLATE Latin1_General_CI_AS  not in (
   Select [Name] FROM forums_Post_Categories where  CategoryType = @CategoryType and ForumID = @ForumID
  )
就是在not in前面加上COLLATE Latin1_General_CI_AS

2.建立一目录C:\Projects\Community,把CS_Beta_2/Web的内容复制到C:\Projects\Community,请拷入整个aspnet_client文件夹
3.建立一新的网站,端口号:80,主机头:junbiao,指向目录C:\Projects\Community,
  为网站设置使用asp.net1.1的应用程序池和使用asp.net1.1版本
4.修改web.config
<appSettings>
    <add key="SiteSqlServer" value="server=junbiao;database=communityserver;uid=sa;pwd=007520" />
</appSettings>
5.创建新社区
添加新社区:exec cs_system_createcommunity 'junbiao/', 'dev', 'admin'
为社区添加新的url:cs_system_AddNewUrl 'junbiao/', 'Community.com/'
如果要修改现有社区:例update cs_Sites set SiteUrl = 'Community.com/' where SiteUrl = 'junbiao/'
6.为NETWORK SERVICE用户,在blogs,Gallery目录添加可修改的权限

posted @ 2004-12-10 11:26  chenjunbiao  阅读(215)  评论(0编辑  收藏  举报