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?
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...
Byron Posted January 3, 2010 Posted January 3, 2010 Yes we can use perl. http://www.heliohost.org/home/features-mai...iptingmenu/perl
cl58 Posted January 3, 2010 Author Posted January 3, 2010 Without Shell, though, how do you run the script/file?
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.
cl58 Posted January 3, 2010 Author Posted January 3, 2010 So all perl files have to go in the cgi-bin directory?
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now