ejabberd - Comments for "using Apache-1.3??" https://www.ejabberd.im/node/810 en You normally do not need the https://www.ejabberd.im/node/810#comment-1744 <p>You normally do not need the JID of an administrator. Just enter an existing Jabber ID and its password, or create a new account. Maybe you should contact the JWChat author, because this seems to be a JWChat (configuration) issue.</p> <p>--<br /> sander</p> Tue, 16 May 2006 19:49:51 +0000 sander comment 1744 at https://www.ejabberd.im two issues https://www.ejabberd.im/node/810#comment-1742 <p>I changed </p> <p>servers_allowed:[SITENAME] to servers_allowed:['sage.thought.org'].</p> <p>Same results. When I point mozilla at <noindex><a href="http://sage.thought.org/jwchat" title="http://sage.thought.org/jwchat" rel="nofollow" >http://sage.thought.org/jwchat</a></noindex><br /> the first things that pop-up are the error dialogs with the strings:</p> <p>"JID is missing\nAborting" and "Password is missing\nAborting"</p> <p>which seems to mean that I am missing the name of (at least?) the name of a JWChat admin. So the first thing is: how-to resolve this missing JID/password issue? I understand that if *I* am the admin, my JID would be "kline@sage.thought.org/jwchat". Another thing is either howto get past this error OR how to set up at least one person to handle my JWChat page.</p> <p>In short, I'm lost!</p> <p>gary</p> Tue, 16 May 2006 18:00:25 +0000 kline comment 1742 at https://www.ejabberd.im Re: Yes, give all useful https://www.ejabberd.im/node/810#comment-1726 <div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <p>Following is /usr/local/www/jwchat.htaccess:</p></div> <p>This probably needs to be /usr/local/www/data/jwchat/.htaccess</p> <div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <pre>servers_allowed:[SITENAME]</pre></div> <p>I have instead of "SITENAME", my domain. So in your case: </p> <pre>servers_allowed:['sage.thought.org']</pre><p> After that you should be able to see jwchat in <noindex><a href="http://sage.thought.org/jwchat/" rel="nofollow" >http://sage.thought.org/jwchat/</a></noindex></p> Fri, 12 May 2006 09:22:58 +0000 sander comment 1726 at https://www.ejabberd.im Re: Yes, give all useful https://www.ejabberd.im/node/810#comment-1724 <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>Yes, give all useful information.</p> <p>--<br /> sander</p></div> <p>This is in apache/httpd.conf:<br /> [code]</p> <p> AllowOverride All</p> <p>[/code]<br /> Following is /usr/local/www/jwchat.htaccess:<br /> [code]</p> <p> RewriteEngine On<br /> RewriteRule http-poll/ <noindex><a href="http://sage.thought.org:5280/http-poll/" title="http://sage.thought.org:5280/http-poll/" rel="nofollow" >http://sage.thought.org:5280/http-poll/</a></noindex> [P]</p> <p>[/code]</p> <p>And, same directory in config.js:<br /> var SITENAME = "sage.thought.org"<br /> var DEFAULTRESOURCE = "jwchat";</p> <p>...<br /> var BACKENDS =<br /> [<br /> {<br /> name:"Native",<br /> description:"Ejabberd's native HTTP Polling backend",<br /> httpbase:"http-poll/",<br /> type:"polling",<br /> servers_allowed:[SITENAME]<br /> },<br /> ];</p> <p>I'm .LT. positive that I have the mod_rewrite stuff set up correctly. In the jwxhat port tree's README it mwntions a "RewriteRule"that I assume should be iin the apache httpd.conf or .htacess file:</p> <p>RewriteRule http-poll/ <noindex><a href="http://127.0.0.1:5280/http-poll/" title="http://127.0.0.1:5280/http-poll/" rel="nofollow" >http://127.0.0.1:5280/http-poll/</a></noindex> [P]</p> <p>But since 127.1 is "localhost", I don't see how this would work either.</p> <p>Anyway, that's it. I hope that something jumps out at you!</p> <p>gary</p> Thu, 11 May 2006 23:44:18 +0000 kline comment 1724 at https://www.ejabberd.im Yes, give all useful https://www.ejabberd.im/node/810#comment-1722 <p>Yes, give all useful information.</p> <p>--<br /> sander</p> Thu, 11 May 2006 20:14:08 +0000 sander comment 1722 at https://www.ejabberd.im Re: I remember that I had to https://www.ejabberd.im/node/810#comment-1720 <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>I remember that I had to make sure that the rewrite module for Apache is loaded...are you sure you have that module loaded?</p> <p>--<br /> sander</p></div> <p>As far as I can tell (from looking in httpd.conf, the mod_rewrite[.o]<br /> is both added and loaded. --There were lines involving the proxy server that I uncommented. I reinitialized everything, but no luck. </p> <p>Is there any way of tracing this? or posting part of my config files?</p> Thu, 11 May 2006 18:50:13 +0000 kline comment 1720 at https://www.ejabberd.im I remember that I had to https://www.ejabberd.im/node/810#comment-1715 <p>I remember that I had to make sure that the rewrite module for Apache is loaded...are you sure you have that module loaded?</p> <p>--<br /> sander</p> Thu, 11 May 2006 07:24:41 +0000 sander comment 1715 at https://www.ejabberd.im 404 err https://www.ejabberd.im/node/810#comment-1713 <p>For the past couple hours I've been unable to figure out why things are<br /> failing. The necessary modules are in httpd.conf so things should be getting rewritten, but I keep getting "Not found" when I point to the chat URL. Ideas? In the jwchat port README are several lines of apache directives that I didn't add.</p> <pre>%&lt;---------- ServerName jabber.example.com DocumentRoot /var/www/jwchat Options +Indexes +Multiviews AddDefaultCharset UTF-8 RewriteEngine on RewriteRule http-poll/ <noindex><a href="http://127.0.0.1:5280/http-poll/" title="http://127.0.0.1:5280/http-poll/" rel="nofollow" >http://127.0.0.1:5280/http-poll/</a></noindex> [P] %&lt;---------- </pre><p> What am I doing wrong?</p> Wed, 10 May 2006 22:22:25 +0000 kline comment 1713 at https://www.ejabberd.im Re: Re-initialization? and test? https://www.ejabberd.im/node/810#comment-1711 <div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <p>Appreciate the examples. I've replaced "sage.thought.org:5280" for the host:PORT name. Yes?/no?</p></div> <p>EXAMPLE.ORG--&gt; Jabber ID: <noindex><a href="mailto:user@EXAMPLE.ORG" rel="nofollow" >user@EXAMPLE.ORG</a></noindex></p> <div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <p>The next questions are what do I need to do to reinit everything?</p></div> <p>Use apachectl</p> <div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <p>"ejabberd_enable="YES"" is set in /etc/rc.conf. It might be easiest to reboot, but that wouldn't help me understand how things work together.</p></div> <pre>/usr/local/etc/rc.d/ejabberd.sh restart</pre><div class="quote-msg"> <div class="quote-author"><em>kline</em> wrote:</div> <p>Lastly, how-to-test with my browser? Is the URL to get to jwchat:<br /> http://sage.thought.org/http-poll??</p></div> <p>No, if you have put jwchat into /usr/local/www/data/jwchat/ it will be available on something like <noindex><a href="http://example.org/jwchat/" title="http://example.org/jwchat/" rel="nofollow" >http://example.org/jwchat/</a></noindex> depending on your Apache configuration.</p> Wed, 10 May 2006 18:23:17 +0000 sander comment 1711 at https://www.ejabberd.im Re-initialization? and test? https://www.ejabberd.im/node/810#comment-1709 <p>Appreciate the examples. I've replaced "sage.thought.org:5280" for the host:PORT name. Yes?/no? I've edited the *.cfg file in /usr/local/etc/ejabberd/ directory. Things look ready for testing. The next questions are what do I need to do to reinit everything? "ejabberd_enable="YES"" is set in /etc/rc.conf. It might be easiest to reboot, but that wouldn't help me understand how things work together.<br /> Lastly, how-to-test with my browser? Is the URL to get to jwchat:<br /> <noindex><a href="http://sage.thought.org/http-poll" title="http://sage.thought.org/http-poll" rel="nofollow" >http://sage.thought.org/http-poll</a></noindex>??</p> <p>gary</p> Wed, 10 May 2006 17:48:53 +0000 kline comment 1709 at https://www.ejabberd.im I have this in my Apache https://www.ejabberd.im/node/810#comment-1698 <p>I have this in my Apache configuration:</p> <pre>&lt;Directory /usr/local/www/data/jwchat&gt; AllowOverride All &lt;/Directory&gt;</pre><p> And in /usr/local/www/data/jwchat/.htaccess I have this:</p> <pre>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteRule http-poll/ <noindex><a href="http://EXAMPLE.ORG:PORT/http-poll/" title="http://EXAMPLE.ORG:PORT/http-poll/" rel="nofollow" >http://EXAMPLE.ORG:PORT/http-poll/</a></noindex> [P] &lt;/IfModule&gt;</pre><p> And in /usr/local/www/data/jwchat/config.js:</p> <pre>var BACKENDS = [ { name:"Native", description:"Ejabberd's native HTTP Polling backend", httpbase:"http-poll/", type:"polling", servers_allowed:['EXAMPLE.ORG'] }, ];</pre><p> Note that you do not need your own Jabber server; you also can use a public server.</p> <p>--<br /> sander</p> Wed, 10 May 2006 08:05:38 +0000 sander comment 1698 at https://www.ejabberd.im