Append Mongrel port after HTML


I’m trying to debug an issue I’m having with an app where certain
requests fail but work after a refresh which led me to think it might
be a problem with only one Mongrel instance out of the bunch.

So I was wondering if there’s an easy way (i.e. without having to
manually patch Mongrel) to append a comment at the end of the pages’
HTML with something like the PID or port so I can track which instance
served the request.

Thanks for your help!

  • Michele