orbited-users
[Prev] Thread [Next] | [Prev] Date [Next]
[Orbited] Re: Orbited+Stomp behind reverse proxy Nemanja Stefanovic Fri Jun 19 12:00:55 2009
I solved this in Apache by adding:
<Location "/tcp">
SetHandler none
</Location>
<Location "/orbited">
SetHandler none
</Location>
ProxyPass /tcp http://localhost:8000/tcp
ProxyPass /orbited/ http://localhost:8000/
to Apache's httpd.conf (or another one that httpd.conf pulls in). Obviously
replace localhost with whatever your hostname...
On Fri, Jun 19, 2009 at 1:14 PM, apocalypznow <[EMAIL PROTECTED]>wrote:
>
> Hi everyone,
>
> I sure hope someone can help me out please.
>
> Due to (corporate) firewall restrictions, I am trying to get Orbited
> +Stomp to be accessible by the browser on port 80 only. I have been
> looking at configuring HAProxy as a reverse proxy that opens only port
> 80 to the browser, and depending on the request, forwards it to the
> appropriate backend (ie: Stomp on 61613). A sample HAProxy
> configuration can be found here:
> http://www.olivepeak.com/blog/posts/read/free-your-port-80-with-haproxy
>
> In that configuration which I am listing here:
>
> frontend http_proxy
> bind 8.12.42.103:80
> mode http
> timeout client 5m
> option forwardfor
> default_backend apache
> acl req_pubsub_path path_beg /subscriptions/channel/
> acl req_notes hdr_dom(host) -i notes.olivepeak.com
> use_backend pubsubs if req_pubsub_path req_notes
>
> the default backend is an apache server, but if the http request is to
> a path "/subscriptions/channel/" and has a certain header, then
> HAProxy sends the request to another server (in this case, "pubsubs" -
> which is a Twisted server).
>
> I believe that Orbited could be set up similarly, but I get stuck on
> how Stomp would work. Is Stomp really just going over http? If that
> is the case, is there a way in which to look at what stomp is sending
> to figure out it is a request to be sent to a Stomp listener on the
> server?
>
> Other than using HAProxy, has anyone else been able to tackle this
> problem of needing to serve everything off port 80 with Stomp included?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Orbited discussion group.
To post, send email to
<[EMAIL PROTECTED]>
To unsubscribe, send email to
<[EMAIL PROTECTED]>
For more options, visit
<http://groups.google.com/group/orbited-users>
-~----------~----~----~----~------~----~------~--~---
- [Orbited] Orbited+Stomp behind reverse proxy apocalypznow
- [Orbited] Re: Orbited+Stomp behind reverse proxy Nemanja Stefanovic <=
- [Orbited] Re: Orbited+Stomp behind reverse proxy apocalypznow
- [Orbited] Re: Orbited+Stomp behind reverse proxy Nemanja Stefanovic
- [Orbited] Re: Orbited+Stomp behind reverse proxy Michael Carter
- [Orbited] Re: Orbited+Stomp behind reverse proxy apocalypznow
- [Orbited] Re: Orbited+Stomp behind reverse proxy Mario Balibrera
- [Orbited] Re: Orbited+Stomp behind reverse proxy Mario Balibrera