cl58 Posted January 3, 2010 Posted January 3, 2010 Does HelioHost have shell/ssh access. If not, is there another way to run a perl script? Quote
Wizard Posted January 3, 2010 Posted January 3, 2010 No shell access. Off the top of my head, I don't remember if we even have perl installed... Quote
Byron Posted January 3, 2010 Posted January 3, 2010 Yes we can use perl. http://www.heliohost.org/home/features-mai...iptingmenu/perl Quote
cl58 Posted January 3, 2010 Author Posted January 3, 2010 Without Shell, though, how do you run the script/file? Quote
Byron Posted January 3, 2010 Posted January 3, 2010 Without Shell, though, how do you run the script/file? Just create a file in your cgi-bin directory under public_html, and place the Perl "shebang" line (#!/usr/bin/perl) on the first line of the file. Below this line you may write Perl code. Make sure you make this file's CHMOD permissions 755, and output a Content-type header before anything else. Quote
cl58 Posted January 3, 2010 Author Posted January 3, 2010 So all perl files have to go in the cgi-bin directory? Quote
Byron Posted January 3, 2010 Posted January 3, 2010 So all perl files have to go in the cgi-bin directory? No not anymore. You should be able to run cgi/perl in any directory. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.