cl58 Posted January 3, 2010 Share Posted January 3, 2010 Does HelioHost have shell/ssh access. If not, is there another way to run a perl script? Quote Link to comment Share on other sites More sharing options...
Wizard Posted January 3, 2010 Share Posted January 3, 2010 No shell access. Off the top of my head, I don't remember if we even have perl installed... Quote Link to comment Share on other sites More sharing options...
Byron Posted January 3, 2010 Share Posted January 3, 2010 Yes we can use perl. http://www.heliohost.org/home/features-mai...iptingmenu/perl Quote Link to comment Share on other sites More sharing options...
cl58 Posted January 3, 2010 Author Share Posted January 3, 2010 Without Shell, though, how do you run the script/file? Quote Link to comment Share on other sites More sharing options...
Byron Posted January 3, 2010 Share 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 Link to comment Share on other sites More sharing options...
cl58 Posted January 3, 2010 Author Share Posted January 3, 2010 So all perl files have to go in the cgi-bin directory? Quote Link to comment Share on other sites More sharing options...
Byron Posted January 3, 2010 Share 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 Link to comment Share on other sites More sharing options...
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.