Description:
Now I have set a openfire as xmpp server, and use apache do a proxy pass
to enable http-bind
httpd.conf:
ProxyRequests On
ProxyPass /http-bind/ http://host:7070/http-bind/ (this is the openfire
address)
ProxyPassReverse /http-bind/ http://host:7070/http-bind/
When using under apache, it works.
But Now I using rails with port 3000, so my question is can rails do the
same thing as apache, can proxypass a action to a url?
I have try the Net::HTTP.proxy but can’t make it work.
Any help is appreciate!