Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Please Suggest me a good Web Hosting for Perl CGI

by romy_mathew (Beadle)
on Nov 08, 2011 at 20:54 UTC ( #936884=perlquestion: print w/ replies, xml ) Need Help??
romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:

Can you suggest me a good Web Server that can support Perl CGI. My current web hosting give very minimum support for the perl cgi.

Comment on Please Suggest me a good Web Hosting for Perl CGI
Re: Please Suggest me a good Web Hosting for Perl CGI
by CountZero (Chancellor) on Nov 08, 2011 at 21:40 UTC
    "Good service, cheap, fast": choose any two.

    Difficult to suggest anything: where are you based; what is the bandwith and volume you need; are you willing to pay for it; what version of Perl do you need; cloud based, co-located or shared server; ...

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: Please Suggest me a good Web Hosting for Perl CGI
by luis.roca (Deacon) on Nov 08, 2011 at 21:55 UTC

    “Can you suggest me a good Web Server that can support Perl CGI. My current web hosting give very minimum support for the perl cgi.”

    It's actually harder to find a web host that does not have CGI and Perl installed. If you are looking for a host to provide technical support for your scripts, you may be better off looking for the configuration you want (eg. Operating system, supported databases etc.) and taking the time to learn CGI.

    This will help you get started: CGI 101 and, of course you can stop by here with any specific questions.

    Good luck.


    "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." Don Quixote
Re: Please Suggest me a good Web Hosting for Perl CGI
by johnny_carlos (Scribe) on Nov 08, 2011 at 23:12 UTC
    I've recently signed up with rackspace.com so that I could write and host some simple Perl scripts( johnnycarlos.com for the curious).

    It's $11 per month, plus additional bandwidth for a 256MB RAM, 10 GB hdd linux server. I was really impressed with how easy and quickly I was able to create an account, spin up a server, and get my own IP address... it was a matter of minutes and I was up and running.

    Now, if by "supports Perl CGI" you mean: you want to install your own modules and versions, then this is a great solution because you are the server owner, you are root, and you do whatever you want with it.

    But if by "supports Perl CGI" you mean you want to call someone and ask for help, you're probably not going to find anything like that without paying a WHOLE LOT of money to someone like Redhat for enterprise support.

Re: Please Suggest me a good Web Hosting for Perl CGI
by Marshall (Prior) on Nov 08, 2011 at 23:46 UTC
    This program is pretty much the equivalent of the 'C' hello world program:

    Put this in your cgi-bin directory as "time.cgi". Change the permissions so that anybody can read it or execute it.
    chmod +rx cgi-bin/time.cgi

    Then you just have to tell folks the URL, maybe:
    http:your_machine/~yourName/time.cgi
    The user clicks on that link and the program runs.
    In this case it just sends an html page with the current time.

    Try it!

    #!/usr/bin/perl -w use strict; use CGI; my $q = new CGI; my $timestamp = localtime; print $q->header ("text/html"), $q->start_html ( -title => "Current Time"), $q->h2 ("Current Time"), $q->hr, $q->p( "This system figures current time as: ", $q->b($timestamp) ), $q->end_html;
Re: Please Suggest me a good Web Hosting for Perl CGI
by Marshall (Prior) on Nov 08, 2011 at 23:46 UTC
    This program is pretty much the equivalent of the 'C' hello world program:

    Put this in your cgi-bin directory as "time.cgi".
    this may under a directory like: public_html

    Change the permissions so that anybody can read it or execute it.
    chmod a+rx cgi-bin/time.cgi

    Then you just have to tell folks the URL, maybe:
    http:your_machine/~yourName/time.cgi
    The user clicks on that link and the program runs.
    In this case it just sends an html page with the current time.

    Try it!

    #!/usr/bin/perl -w use strict; use CGI; my $q = new CGI; my $timestamp = localtime; print $q->header ("text/html"), $q->start_html ( -title => "Current Time"), $q->h2 ("Current Time"), $q->hr, $q->p( "This system figures current time as: ", $q->b($timestamp) ), $q->end_html;
    In this case, the code is inefficient because among other things, there is a huge overhead in the object method calls.

    But under a normal ~Unix system where you are allowed to have a cgi-bin directory, this is "hello world".

    Get this working and we go from there.
    With performance issues and blah,de,blah,de,blah.

Re: Please Suggest me a good Web Hosting for Perl CGI
by anneli (Pilgrim) on Nov 08, 2011 at 23:53 UTC

    Depends how much you want to pay. I use Linode.

Re: Please Suggest me a good Web Hosting for Perl CGI
by zentara (Archbishop) on Nov 09, 2011 at 16:19 UTC
    I concur with anneli, it depends on how much you want to pay. Otherwise you get a Perl CGI site, but slow database servers, lousy backup methods, and other miseries like tech support that dosn't know what it's doing. From my searching, I say a $8 a month gets you basic service, suitable for running test scripts only on. And about $25 a month will get you decent fast service. Always google for the ISP you intend to subscribe with, and see if there are complaints about them.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      I am based in India and the current web server don't allow to modify the apache server setting, I need to use Mod Perl for my e-eCommerce site. I inquired many web server but no one seems to allow any right to make the server setting to modify I believe there would be many monks who worked on Large sites on Perl with Mod Perl and would like to know which would be good one to start. I would like to use a server that use perl 5.8 + version perfer 5.10
        Have you tried http://www.bullten.com

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://936884]
Approved by sparkyichi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-04-17 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls