Help - Search - Members - Calendar
Full Version: how to enable wget?
The Planet Forums > Control Panels > cPanel/WHM
Mudpuppy
I have a cPanel server which only hosts my own sites/domains. I added a new account to the server and am trying to run a cgi script which requires wget, but the script isn't working. I was told by the person who wrote the script, "it appears that outgoing wget calls are not allowed". I do have this script running successfully on a different server, so I know the script itself isn't the issue.

How do I enable wget for all the accounts on my server?
Isaac
There's more than one way to do this - but I'd be inclined to write a shell script that, run from root, adds a hard link to wget for each domain, CHMODs it, and CHOWNs it.
mickalo
QUOTE
Originally posted by Mudpuppy
I have a cPanel server which only hosts my own sites/domains.  I added a new account to the server and am trying to run a cgi script which requires wget, but the script isn't working.  I was told by the person who wrote the script, "it appears that outgoing wget calls are not allowed".  I do have this script running successfully on a different server, so I know the script itself isn't the issue.

How do I enable wget for all the accounts on my server?

You may want to look into Perl's LWP modules, alot more versital and doesn't require "root" privileges... that is if this is a Perl programming type script icon_smile.gif

Mickalo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.