Pendragon Posted April 10, 2005 Posted April 10, 2005 I've got a script that works fine in perl, but whenever I access it via web, it gives me a 500 error with the ever helpful 'premature end of script headers' error. Again, script works fine in perl with no errors, but won't run on website (and it has the right permissions to run). Any ideas on what to look for? Quote
TCH-Bruce Posted April 10, 2005 Posted April 10, 2005 Did you upload it in ASCII mode vs Binary? If yes, can you post the contents of the script and maybe one of the members can spot a problem, Quote
Pendragon Posted April 10, 2005 Author Posted April 10, 2005 Did you upload it in ASCII mode vs Binary? If yes, can you post the contents of the script and maybe one of the members can spot a problem, <{POST_SNAPBACK}> Well, now it's working. Seems IE did upload it in binary mode. Still gives me an error on my local server (just not in perl) though, not sure why, need to dig in to the server config I guess, obviously I screwed something up! I couldn't have posted the code anyway, it's nearly 2000 lines (and growing). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.