I've been working on a little mail program for a friend of mine, and I'm almost finished with it. The core of the program works fine, but there are some things I'd really like to do with it that will just make it look nicer. Which leads me to my question:
I'm getting an error from Apache that looks like this;
(8)Exec format error: exec of /var/www/cgi-bin/simpleMail/timerbar.js failed
Premature end of script headers: /var/www/cgi-bin/simpleMail/timerbar.js
The first part of the error message being returned from the web server really has me stumped since "it" isn't supposed to be executing this script in the manner in which it "appears" it's trying to. runtime execution for the timerbar.js script should be happening client side and handled by the browser, right?
I really don't think this is an apache config problem, at least to the best of my knowledge I don't think it is. here's the dir tree layout where all the files for this program is located just in case.
The PERL scripts work fine from this place, however the .html page throws a 500 error. (web server config - clearly) But, the exec error I mentioned has really got me stumped. Does anyone have any clue as to why it's telling me this and what the error means?