zoukankan      html  css  js  c++  java
  • 如何配置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目录添加可修改的权限

  • 相关阅读:
    两种常用的启动和关闭MySQL服务
    磁盘分区(20G升50G)
    Google的一些功能和软件
    Google辅助类软件
    Google协作平台
    Google邮箱:Gmail国际顶级邮箱
    Google表单
    Google幻灯片
    在VC/MFC中嵌入Google地图——图文并茂
    与走在创业路上的学子交流——记网维“海大快点”创业团队
  • 原文地址:https://www.cnblogs.com/chenjunbiao/p/1760284.html
Copyright © 2011-2022 走看看