I've got a CGI that I'm trying to debug. Apache gives me an ambiguous 500 error; it would be nice to see the raw output via the shell.
I've got the POST request w/headers as follows. What's the best way to troubleshoot this?
POST /cgi/packBoxes.cgi HTTP/1.1
Host: 70.87.60.214
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
http://70.87.60.214/cgi/testPackBoxesFilledIn.php
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
Content-Length: 551
sku1=1456C&particular1=&qty1=4&price1=25.00&weight1=4&size1=34.5x3.5x3.5&type1=normal&sku2=1456C&par ticular2=&qty2=4&price2=25.00&weight2=4&size2=34.5x3.5x3.5&type2=normal&sku3=1456C&particular3=&qty3 =4&price3=25.00&weight3=4&size3=34.5x3.5x3.5&type3=normal&sku4=1456C&particular4=&qty4=4&price4=25.0 0&weight4=4&size4=34.5x3.5x3.5&type4=normal&sku5=1456C&particular5=&qty5=4&price5=25.00&weight5=4&si ze5=34.5x3.5x3.5&type5=normal&shipToCity=Toccoa&shipToState=GA&shipToZip=30577&shipToCountry=United+ States&shipVia=UPS+Ground&shipTerms=Normal&markup=1