Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

BOSH server only acting like web server

$
0
0

I am using Openfire 3.8.2 and I am trying desperately to set up a web client like jappix or jwchat. The host is running CentOS 6.4. In openfire's web admin i have enabled the http Binding service on port 7070. However when I go to myserver:7070/ i get a directory listing with an index.html.old and a WEB-INF dir. and if I point it to myserver:7070/http-bind/ I get a 404. to verify my belief that this is not working i ran the followning command:

 

curl -d “<body rid=’123456′ xmlns:xmpp=’urn:xmpp:xbosh’ />” http://myserver:7070/http-bind/

 

and the result i get is this:

 

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>

<title>Error 400 Bad Request</title>

</head>

<body>

<h2>HTTP ERROR: 400</h2>

<p>Problem accessing /http-bind/. Reason:

<pre>    Bad Request</pre></p>

<hr /><i><small>Powered by Jetty://</small></i>

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

                                               

</body>

</html>

 

 

 

 

 

for fun here is the result of running against myserver:7070

 

 

 

 

 

<HTML><HEAD><LINK HREF="jetty-dir.css" REL="stylesheet" TYPE="text/css"/><TITLE>Directory: /</TITLE></HEAD><BODY>

<H1>Directory: /</H1>

<TABLE BORDER=0>

 

 

<TR><TD><A HREF="/WEB-INF/">WEB-INF/ </A></TD><TD ALIGN=right>4096 bytes </TD><TD>May 29, 2013 6:12:44 PM</TD></TR>

<TR><TD><A HREF="/index.html.old">index.html.old </A></TD><TD ALIGN=right>222 bytes </TD><TD>Mar 3, 2013 9:13:10 PM</TD></TR></TABLE>

</BODY></HTML>

 

 

 

 

I have tried turning it off, saving andturning it back on, I've tried changing the port, nothing works. I would verify the config files are updating appropriately but I can't seem to find where Openire keeps it's configs. Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 10742

Trending Articles