I know this is probably my fault, but I cannot get any Perl script to work. Even simple scripts, I have also taken some from these forums and still getting errors. The browser returns:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
the error log says:
Premature end of script headers
along with other errors.
I have chmodded the files to 755 and the directories are automatically 755. Can anyone help or give me an answer as to why this is happening?