[ejabberd] http_bind BAD REQUEST

Steven Parkes smparkes at smparkes.net
Thu Aug 13 20:40:36 MSD 2009


You're not going to be able to have both ejabberd and apache bind port 5280.
You can either use a proxy as Matt mentioned, an iFrame with document.domain
set, or, as Jack mentioned, use his flXHR stuff soon (if a Flash requirement
is okay).

> -----Original Message-----
> From: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] On
> Behalf Of straightflush at gmail.com
> Sent: Thursday, August 13, 2009 9:33 AM
> To: ejabberd at jabber.ru
> Subject: Re: [ejabberd] http_bind BAD REQUEST
> 
> that makes sense actually.  I am going to try hosting apache
> virtualhost on 5280 and see if this solves it...
> 
> 
> 
> On Thu, Aug 13, 2009 at 10:24 AM, Myers
> Carpenter<mcarpenter at rosettastone.com> wrote:
> >
> > On Aug 13, 2009, at 9:21 AM, straightflush at gmail.com wrote:
> >
> >> interesting. I was serving ejabberd over example.org, port 5280 and
> >> then apache over example.org port 80 so the strophe javascript was
> >> requesting http-bind over the same domain.  Not sure if this would
> >> still be an issue but it seems to mitigate some of these cross-domain
> >> issues no ?
> >
> > According to http://en.wikipedia.org/wiki/Same_origin_policy coming from
> two
> > different ports will not work.
> >
> > myers
> >
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> >
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list