aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jwchat/files/pkg-message.in
blob: e255455d39d46dc936b958424bc7c8cff5452f77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

--------------------------------------------------------------------------

* Read %%PREFIX%%/%%WWW_ROOT%%/%%PORTNAME%%/README!

* Edit %%PREFIX%%/%%WWW_ROOT%%/%%PORTNAME%%/config.js to suit your needs.

* Now you have to setup your web server so that it redirects requests
  to the URLs given at httpbase of config.js to an http polling/binding
  capable jabber server component.

  Something along these lines might work:

  <Directory %%PREFIX%%/%%WWW_ROOT%%/%%PORTNAME%%>
        Options +Indexes +Multiviews
        AddDefaultCharset UTF-8
        RewriteEngine On
        RewriteRule http-poll/ http://localhost:5280/http-poll/ [P]
  </Directory>

  Note: You need to enable mod_rewrite and mod_proxy at your apache
  configuration. Apache2 users also need to enable the protocol
  specific proxy module mod_proxy_http.

* Restart your web server

--------------------------------------------------------------------------