You are not logged in.

#1 2013-11-15 14:40:59

id0827502
Member
Registered: 2013-08-15
Posts: 12

[RESOLVED] Perl script header issue?

So when I try to run this script via my local Apache server, I keep getting given a 500 Internal Server error and I cannot for the life of me figure out why. All files and folders are 755, apache2.conf has the CGI variables it needs (and tested with a simpler script), header calls are there. I'm stumped.

Error log just says "[Sat Nov 16 01:33:38 2013] [error] [client 127.0.0.1] Premature end of script headers: dig.pl"

EDIT: Solved by copy/pasting raw text into vim again. Must've had a weird character at the end of one of the lines. Odd.

Last edited by id0827502 (2013-11-15 15:23:47)

Offline

Board footer

Powered by FluxBB