hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Newbie Question re Perl
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Newbie Question re Perl

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-24-2002, 02:59 PM
carrotweb carrotweb is offline
Junior Guru Wannabe
 
Join Date: Mar 2002
Posts: 86

Newbie Question re Perl


I want to install Mambo on my virtual hosting account, but I don't have shell access. How do I run a perl file called 'install.pl'?

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 07-24-2002, 03:01 PM
microsol microsol is offline
Web Hosting Master
 
Join Date: Jul 2001
Location: /dev/null
Posts: 1,219
I don't know mambo but you should be able to chmod the script to 755 and access it through it's url.

Reply With Quote
  #3  
Old 07-24-2002, 03:23 PM
apollo apollo is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 2,102
... and you will probably need to rename it to .cgi extension.. usually hosts configure apache server to execute only .cgi files as a scripts

__________________
LinuxAdmin.org - server management and tuning

Reply With Quote
Sponsored Links
  #4  
Old 07-26-2002, 02:41 AM
Ahmad Ahmad is offline
Web Hosting Master
 
Join Date: Jan 2002
Location: Kuwait
Posts: 679
The problem with these scripts is that they were originally written to run from the command line. They will probably not print the proper headers and might expect you to interact with it through standard input (give you a prompt).

__________________
Ahmad Alhashemi
PHP, Apache, C, Python, Perl, SQL
18 related BrainBench certificates

Reply With Quote
  #5  
Old 07-26-2002, 11:40 AM
MaB MaB is offline
Web Hosting Master
 
Join Date: Oct 2001
Posts: 1,244
This will be a dangerous script so remove it once your done:

#!/usr/bin/perl

print "content-type:text/html\n\n";

print "Executing...<BR>";

$command = `perl /path/to/pl/file/here.pl`;
$command =~ s/\\n/<BR>/g;

print "Output: [$command]";


Try it out

__________________
Avi Brender
Reliable Web Hosting by Elite Hosts, Inc
CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Web Host Liquid Web Donates $10,000 to The Perl Foundation Web Hosting News 2011-09-23 18:45:40
Your Peers Love HostingCon. Find Out Why & Register for 2011 Blog 2011-06-10 14:10:34


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?