How to use eJabberD with Litespeed?

Discussion in 'Apache Migration/Compatibility' started by robdiablo, Nov 22, 2010.

  1. robdiablo

    robdiablo Member

    We are implementing eJabberD on our server and need to have litespeed redirect a directory to the eJabberD server.

    Here are the instructions for Apache, how can I do something similar in Litespeed?

    Setup webserver
    Now you have to setup your web server so that it redirects requests from the URL given at HTTPBASE of config.js to an HTTP-Polling capable Jabber server component. Those instructions are for Apache 2.
          The easiest way to make redirection is creating a .htaccess file in the JWChat directory with this content:
          AddDefaultCharset UTF-8
          Options +MultiViews
          <IfModule mod_rewrite.c>
                  RewriteEngine On
                  RewriteRule http-poll/ [P]
          In your Apache configuration file (/etc/apache2/apache2.conf) you must enable .htaccess files and proxy options:
          <Directory "/var/www/jwchat">
                  AllowOverride All
          Finally, enable rewrite and proxy modules for Apache:
          cd /etc/apache2
          ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/
          ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/
          ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/
    When I try to add just the mod rewrite rule into an htaccess file, I get this from Litespeeed:

    [REWRITE] Proxy target is not defined on external application list, please add a 'web server' with name ''
    Last edited: Nov 22, 2010
  2. NiteWave

    NiteWave Administrator

Share This Page