Serving crossdomain.xml with mod_http_fileserver
Posted by aaron on April 2, 2010 at 9:08pm
I'm attempting to set up a crossdomain.xml to be served at http://example.com:5280/crossdomain.xml. I currently am using:
{mod_http_fileserver, [{docroot, "/var/www"},
{content_types, [{".xml", "text/xml"}]}]},and
{5280, ejabberd_http, [
web_admin,
{request_handlers, [{["xmpp-httpbind"],
mod_http_bind},
{[], mod_http_fileserver}
]}
http pre-binding?
Posted by aaron on March 31, 2010 at 9:14pm
I'm trying to set up http pre-binding but am having difficulties.
Firstly, if I send
<body content='text/xml; charset=utf-8' hold='1' rid='3775588' to='xmpp.example.com' route='http://xmpp.example.com:5280/http-bind/' ver='1.6' wait='60' ack='1' xml:lang='en' xmlns='http://jabber.org/protocol/httpbind'/>I receive
ejabberd2.0.1unix/linux 2.6.26
