Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Perl dont work?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
Robotrono
Posts: 2
Joined: Wed Apr 02, 2014 6:30 pm

Perl dont work?

Post by Robotrono » Wed Apr 02, 2014 6:38 pm

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

Code: Select all

#!/usr/bin/perl

print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";
But I cant run that text board, I get Error 500 Internal Server, all files have 755
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Perl dont work?

Post by skurudo » Mon Dec 21, 2015 6:57 am

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>
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Perl dont work?

Post by skurudo » Mon Dec 21, 2015 6:58 am

Discussion here:
viewtopic.php?f=11&t=10086&p=36385#p36385
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password