jwchat 环境搭建(原创)

客户端请从附件中获取.....    

  Web im Jwchat 部署问题 和解决方法

apache中配置:

       参见博文: http://blog.csdn.net/simonhe1973/archive/2009/01/15/3790114.aspx

 

1:安装apache_2.2.4-win32-x86-openssl-0.9.8d.msi

    检测/apache2/conf/httpd.conf文件中是否包含如下配置,如果没有需要手工添加

a)         LoadModule rewrite_module modules/mod_rewrite.so

b)        LoadModule proxy_module modules/mod_proxy.so

c)        LoadModule proxy_http_module modules/mod_proxy_http.so

 2:/apache2/conf/httpd.conf文件尾部添加如下配置

AddDefaultCharset UTF-8

Options +MultiViews

RewriteEngine On

ProxyPass /http-bind/ http://your.ip:7070/http-bind/

3:配置虚拟目录(扩展)

   1>放开httpd.conf,

              # Virtual hosts

              Include conf/extra/httpd-vhosts.conf

  2>: D:\tools\Apache2.2\conf\extra\httpd-vhosts.conf 添加以下代码

  <VirtualHost *:80>

    ServerAdmin [email protected]

    DocumentRoot E:\jwchat2

    ServerName www.imserver.com

    ErrorLog logs/dummy-host2.www.imserver.com-error_log

    CustomLog logs/dummy-host2.www.imserver.com-access_log common

    <Directory E:\jwchat2>

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    allow from all

    Satisfy all

</Directory>

</VirtualHost>

 

 

 

 

 

Openfrie中加入两个系统属性:

xmpp.httpbind.client.requests.polling = 0

xmpp.httpbind.client.requests.wait = 10

你可能感兴趣的:(apache,c,Web,.net,Access)