Perl dont work?
Perl dont work?
Hey everybody, I have installed Vesta CP on Centos 6, well I want install a Text Board in Perl Script, but I can't install because the file cgi dont run, only I see the code from this file.
how I can run a file cgi? I want install this board: http://tablecat.ipyo.heliohost.org/bbs/
Sorry for my bad english
Edit: Ok I try this script on cgi-bin folder and works
But I cant run that text board, I get Error 500 Internal Server, all files have 755
how I can run a file cgi? I want install this board: http://tablecat.ipyo.heliohost.org/bbs/
Sorry for my bad english
Edit: Ok I try this script on cgi-bin folder and works
Code: Select all
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";
Re: Perl dont work?
Works fine, but need a little adjustment in apache virtual host:
Code: Select all
<Directory /your-directory>
Options +ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
</Directory>
Re: Perl dont work?
Discussion here:
viewtopic.php?f=11&t=10086&p=36385#p36385
viewtopic.php?f=11&t=10086&p=36385#p36385