PERL script works on non-hub URLs, but not my HUB website. Why?

Asked by:
HubFans / n/a Points
Time:
2014-01-16 12:47 am EST
Category:
Website
Hits:
172
#!/usr/bin/perl -w
#
# This script gets a web pages from a website and displays it .
#
use LWP::Simple;
print "Content-Type: text/html\n\n";
getprint ("http://www.webhostinghub.com/");
exit(0);

It appears that HUB servers behave oddly. Any ideas?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2014-01-16 1:10 am EST
Hello,

Thanks for the question and sorry for the problems with your PERL script. To start with, your script does need to be in the CGI-BIN folder, not BIN. The shebang line should be changed and then it should be okay. Make sure it's also executable, permission-wise. The "BIN" folder doesn't exist.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}