ejabberd - Comments for "http-bind !!!" https://www.ejabberd.im/node/1560 en Http-BIN the Eternal Problem https://www.ejabberd.im/node/1560#comment-55760 <p>Really I not uderstand after many day around.</p> <p>I can install Jwchat inside of http-bind and work. But Never work with the normal Apache.</p> <p>I install all the mod proxy in Apache and also activate old</p> <p>I can make<br /> ProxyPass /http-bind/ <noindex><a href="http://localhost:5280/http-bind/" title="http://localhost:5280/http-bind/" rel="nofollow" >http://localhost:5280/http-bind/</a></noindex></p> <p>order deny,allow<br /> allow from all</p> <p>and the URL WORK also if I make any redirect. This means apache proxy is working<br /> But If I try to use Jwchat and redirect to http-bind I get in apache 2.0 logs</p> <p>[Fri May 14 18:00:29 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch proxy_html/3.0.0 configured -- resuming normal operations<br /> Error: client denied by server configuration: proxy:http://127.0.0.1:5280/http-bind/, referer: <noindex><a href="http://localhost/jwchat/jwchat.htm" title="http://localhost/jwchat/jwchat.htm" rel="nofollow" >http://localhost/jwchat/jwchat.htm</a></noindex></p> <p>Any idea how solve the problem. I use Ubuntu Hardy and Webmin</p> Fri, 14 May 2010 17:17:47 +0000 gineta comment 55760 at https://www.ejabberd.im > I created an ebin directory https://www.ejabberd.im/node/1560#comment-54653 <p>&gt; I created an ebin directory under /etc/ejabberd/ that has the beam files.</p> <p>Copy any additional beam files to the same ejabberd directory that contains all the other beam files, so ejabberd can find them like all the other beam files.</p> Sat, 12 Sep 2009 18:40:05 +0000 mfoss comment 54653 at https://www.ejabberd.im How did you install this?!I https://www.ejabberd.im/node/1560#comment-54650 <p>How did you install this?!</p> <p>I added these lines to my config, but it appears to break everything...</p> <p>Under modules:<br /> {mod_http_bind,[]},</p> <p>Under listen:<br /> {5280, ejabberd_http, [<br /> http_poll,<br /> web_admin,<br /> {request_handlers, [{["http-bind"], mod_http_bind}]}]},<br /> ]}</p> <p>I created an ebin directory under /etc/ejabberd/ that has the beam files.</p> Fri, 11 Sep 2009 22:11:01 +0000 brandon.dixon comment 54650 at https://www.ejabberd.im Re: Oh!!! its silly mistake https://www.ejabberd.im/node/1560#comment-52366 <p>Don't sweat it : you are not the only one...</p> <p>And thanks for your post : enabling the mod_http_bind module is the last step that separated me from a working jwchat/ejabberd setup !</p> Fri, 09 May 2008 13:04:28 +0000 jiml comment 52366 at https://www.ejabberd.im Oh!!! its silly mistake, https://www.ejabberd.im/node/1560#comment-51644 <p>Oh!!! its silly mistake, forgot to include mod_http_bind module</p> Fri, 18 Jan 2008 13:25:05 +0000 GP comment 51644 at https://www.ejabberd.im HTTP-BIND WITH APACHE PROXY PASS 502 RESPONSE ERROR https://www.ejabberd.im/node/1560#comment-51601 <p>I have downloaded the latest ejaberrd 2.0 beta version and trying to use the http-bind using Apache proxypass module, but not able to do successful handshake. Following is my configuration</p> <p>Apache 2.2.6 (running on Windows XP)<br /> ====================================<br /> #module enabled<br /> ...<br /> LoadModule proxy_module modules/mod_proxy.so<br /> LoadModule proxy_http_module modules/mod_proxy_http.so</p> <p>#enable proxy pass<br /> ...<br /> ProxyPass /http-bind/ <noindex><a href="http://localhost:5280/http-bind/" title="http://localhost:5280/http-bind/" rel="nofollow" >http://localhost:5280/http-bind/</a></noindex></p> <p>Ejabberd 2.0.0 beta<br /> ===================<br /> ...<br /> {5280, ejabberd_http, [<br /> http_bind,<br /> http_poll,<br /> web_admin<br /> ]}</p> <p>Using javascript Ajax call, I try to pass the following xml packet in the HTTP POST call</p> <p>POST value<br /> ===========</p> <p>Ajax Response : 502 Proxy error<br /> ==============</p> <p>502 Proxy Error</p> <h1>Proxy Error</h1> <p>The proxy server received an invalid</p> <p>response from an upstream server.</p> <p>The proxy server could not handle the request <em><noindex><a href="/http-bind/" rel="nofollow" >POST&nbsp;/http-bind/</a></noindex></em>. </p><p>Reason: <strong>Error reading from remote server</strong></p> <p>--&gt;</p> <p>But directly typing <noindex><a href="http://ejaberdserver:5280/http-bind/" title="http://ejaberdserver:5280/http-bind/" rel="nofollow" >http://ejaberdserver:5280/http-bind/</a></noindex> on the browser the return would be as follows</p> <p>Ejabberd mod_http_bind v1.2</p> <p>An implementation of XMPP over BOSH (XEP-0206)</p> <p>0 sessions found.</p> <p>Sponsored by mabber.</p> <p>This clearly says that http-bind is working fine and no ejabberd installation issue. I'm not sure whether http-bind with proxypass has be tested or do I miss something to configure. </p> <p>Looking forward the reply and thanks in advance</p> Sat, 12 Jan 2008 16:31:15 +0000 GP comment 51601 at https://www.ejabberd.im