SO has lot many questions of this type but not able to find correct solution. May be I am missing anything.
I am struggling from last few days for finding better option for Chat service. Following thing I have to keep in mind before using any option..
I have developed chat service using Openfire server as chat server and Jetty applet as client. But this applet is not as userfriendly and need to work a lot to make it look like gmail chat or facebook chat.. Also I am going to use Zend framework, PHP, MySQL, Apache server. And server OS could be windows or Linux.
Here are few more questions...
I have set openfire http-bind port to 8181 previously 7070.
Following changes i have done in ijab_config.js
xmpp:{
domain:"ipaddress",
http_bind:"/http-bind/",
host:"ipaddress:8181",
port:5222,
server_type:"Openfire",
muc_servernode:"ipaddress",
...
}
and following will go to .htaccess file which will be placed in htdocs
AddDefaultCharset UTF-8
Options +MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule http-bind/ http://ipaddress:8181/http-bind [P]
</IfModule>
Here ipaddress can be replace with localhost or domain name.