perl 500 internal server error

perl 500 internal server error

Posted by: ecvej
Posted on: 2006-06-25 11:11:00

I have a perl hello world programme which executes fine from the command line. I wont post the code as it's a simple script and it's working fine.

However, when I follow the url http://mydomain.com/script.pl I get a 500 internal server error. I have chmod the file/directory in accordance with http://wiki.dreamhost.com/index.php/Suexec Is there an apache configuration I have overlooked? I had understood cgi scripts run from any directory at DreamHost. Perhaps it's because I am trying to access the file directly?

Re: perl 500 internal server error

Posted by: ardco
Posted on: 2006-06-25 12:45:00

This in the wiki has a bit more details, although you may have already tried most of it. It also has an example.

Giving more details could get you more help.

Good luck

What I Like About

Re: perl 500 internal server error

Posted by: ecvej
Posted on: 2006-06-25 12:57:00

Thanks, I had searched the wiki but not seen that page before. The script wouldn't work because I wrote it in crimson editor using the windows format for line feeds. I'm using the unix style line feeds now and all is well :)

Tags: internal server errorcgi scriptsdreamhostapache configurationhello worldperlmydomainchmodwikiurlhttp