PDA

View Full Version : installing perl



dsgdevil
February 3rd, 2003, 01:13
i'm having trouble installing perl.it gives me a internal server error when i try to go to it.http://icespirit.uni.cc/cgi-bin/test.pl
heres what i've done
put #! /usr/bin/perl as first line.then some perl stuff
in my httpd.conf file,i added this:
AddHandler cgi-script .cgi .pl and where it has

<Directory /> Options FollowSymLinks AllowOverride None </Directory>
i added something and it looks something like this:
<Directory /> Options FollowSymLinks +ExecCGI AllowOverride None </Directory>
but then when i upload it in ascii in the cgi-bin directory,it gives me a internal server error.do i have to do anything else?
thanks in advance

bozley05
February 3rd, 2003, 04:03
Have you chmoded the file? Most perl scripts need chmod 755 i think, dont hold me to that.. some servers i use also just hate the pl extension, so if all else fails rename it to cgi

dsgdevil
February 3rd, 2003, 09:59
i chmod it to 777