cellanir
Goto Top

Jabber Webclient

Jabber Server HTTP Binding unter ISS möglich?

Ich habe folgendes Problem:

Auf meinem Server habe ich ein Jabber System eingerichtet. Das funktioniert soweit auch wunderbar.

Serversystem:

Win2003 Server
Openfire
ISS Webserver
Plesk 9.0.3

Intern funktioniert das alles soweit hervorragend. Als Client wird Spark / Webspark verwendet. Nun wollen wir aber auch außenstehenden erlauben sich ohne einen Account erstellen zu müssen per Webchat in bestimmte Chaträume zu kommen. Ich habe also angefangen mit verschiedenen Systemen rumzuprobieren und bin dann irgendwann auf MUCKl gestoßen. Scheinbar bietet dieser Client genau das was ich brauche.

Aber nun haperts bei der Konfiguration. MUCKl funktioniert nicht ohne HTTP Binding. Tollerweise ist aber eine anleitung dabei wie man das alles einrichten muss dass es läuft. Allerdings nur für einen Apache Server den ich aber nicht habe. Es erscheint mir auch wenig sinnvoll neben meinem ISS jetzt auch noch einen Apache Server einzurichten. Naja vielleicht kann einer von euch Profis das für mich nach ISS umstricken.

Hier mal der auszug aus der Anleitung:

2) Configure Web Server

This is the trickiest part of the setup as it depends on which
HTTP Polling service you've chosen. It requires some knowledge of
apache configuration as well as some understanding of what HTTP
Polling is.

First let me explain, what we need to do and why: Due to security
considerations most browsers don't allow JavaScript to access any
data outside the domain it has been loaded from. Gecko based
browsers are even more restrictive in this as they don't allow
them to access data on a different port either.

So say, the HTTP Polling service we plan to use for MUCkl is
located at http://jabber.somedomain.com:5280/http-poll/ (a
typical ejabberd URI). MUCkl itself is served at
http://www.mydomain.com/MUCkl/. Now we have to make sure that our
installation of MUCkl can access the HTTP Polling service by
calling some local URI like
http://www.mydomain.com/http-poll/. So we have to
setup a rewrite rule which redirects requests on
http://www.mydomain.com/MUCkl/http-poll/ to
http://jabber.somedomain.com:5280/http-poll/.

Using apache this can be achieved by the following steps:

            • Make sure that mod_rewrite and mod_proxy (additionally
            mod_proxy_http for apache2) are loaded.

                      • Define a rewrite rule for your MUCkl installation directory (Step 1).
                      E.g. create an .htaccess file within your MUCkl installation
                      directory like the following:

                      <IfModule mod_rewrite.c>
                      RewriteEngine On
                      RewriteRule http-poll/ http://jabber.somedomain.com:5280/http-poll/ [P]
                      </IfModule>

Content-Key: 147481

Url: https://administrator.de/contentid/147481

Printed on: April 26, 2024 at 15:04 o'clock