Hi folks,
We’re using mongrel_cluster for our app. For debugging purposes, we’d
like to determine which mongrel port an individual request is being
serviced by.
This code:
def host_port
@request.host + ":" + @request.port.to_s
end
returns
1.2.3.4:80
What I’d like is this, for example
1.2.3.4:8004
Any thoughts?
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/