http://www.perlmonks.org?node_id=1020690


in reply to Server closed connection without sending any data back

I would start by entering that exact URL-string on a web browser, while running the browser debugger (e.g. Firebug), in order to easily see what is going and coming across the wire.

Next, do the same thing on the server side:   examine the logs.