joeware - never stop exploring... :)

Information about joeware mixed with wild and crazy opinions...

Utility Downloads Working Again

by @ 9:57 pm on 6/9/2013. Filed under general

I want to apologize to anyone who tried to download any utilities the last few days and were unable to.

I finally have the download CGI script working properly. The script has worked solid since 2010 for literally tens of thousands of downloads and suddenly, with no edits to it, no change in the time stamp, no change in permissions, no nothing, stops working. The hosting provider POWWEB (powweb.com) dragged their feet "troubleshooting" for a couple of days and finally came back to me and said everything is fine and the script is broke. They couldn’t explain to me why a script that has worked flawlessly for three years should suddenly break when no one has touched it.

So I spent 15 minutes and debugged the script line by line (yes the old print "I am here – 1!… print "I am here – 2!" game)  and found that the redirect line at the very end was failing and causing the web daemon to throw a 500 Internal Server error. When I pulled the line out all by itself in its own CGI script it failed again with the same error.

The redirect lines outputs a pair of lines, a line with a 302 status message and a line that specifies the new location for the file which forces the redirect. Removing the status line completely caused the script to start working properly again.

<rant>

So once again I have been reminded of how bad the POWWEB support team is and when I have an issue just try to sort it out myself. <sarcasm> Go team. </sarcasm>

If you are going to tell me that my issue is a script problem, I am not sure why it takes two days to get to that point – how fast can you test the web daemon and CGI module to validate that your server is functioning properly? And I say that as a high level escalation engineer for a very large IT service company, not as someone without a clue. I, someone who doesn’t deal with web scripts but once in a while, sorts out the issue in 15 minutes that the "professionals" couldn’t sort out in 2 days?

</rant>

So anyway, once again you can download utilities, my deepest apologies for the delay.

 

    joe

Rating 4.33 out of 5

Comments are closed.

[joeware – never stop exploring… :) is proudly powered by WordPress.]