FAQ
Just some thoughts about running catalyst on a shared hosting server.

As the apps should only be low to medium traffic, we could imagine
running Catalyst from the build'in server listening a unix socket in
the flavor of the fastcgi server. And a small C wrapper named
~/cgi-bin/myapp.cgi just redirecting request and response to and from
the socket.

That's the way the e-commerce application Interchange (written in
perl) is usually configured in the same context.

I don't know whether or not the built'in server would be strong enough
in the long run, but such a solution don't require any apache conf
modification (no mod_perl, no mod_proxy) which is sometimes a real
pain on a production server.

As I have some experience as a shared host administrator, running
mod_perl in such an envirronment is a real concern. There is enough
trouble running mod_php with all the related security holes and hack
attempts.

--
Bernard FRIT

Search Discussions

  • Carl Franks at Dec 21, 2005 at 3:06 pm

    On 21/12/05, Bernard FRIT wrote:
    Just some thoughts about running catalyst on a shared hosting server.
    Another option:
    My current shared-hosting provider has apache's mod_fastcgi installed
    - which is supported by catalyst.

    Each script running under fastcgi has it's own process, so you don't
    have the same security issues as mod_perl. You can also have different
    programs loading different versions of the same perl module, again a
    problem under mod_perl.

    Cheers,
    Carl
  • Perrin Harkins at Dec 21, 2005 at 6:00 pm

    On Wed, 2005-12-21 at 14:13 +0000, Carl Franks wrote:
    Each script running under fastcgi has it's own process, so you don't
    have the same security issues as mod_perl. You can also have different
    programs loading different versions of the same perl module, again a
    problem under mod_perl.
    You would typically handle this by running separate instances of
    mod_perl for the different versions. It's more work than FastCGI
    though.

    There isn't much reason to use hosts that only offer virtual server
    setups anymore, now that ISPs offer virtual machines with root access
    for such low prices. People who don't have dedicated hardware should
    consider using one of those and running mod_perl or FastCGI rather than
    trying to make CGI or the pure-perl server fast enough.

    - Perrin
  • Peter Edwards at Dec 21, 2005 at 6:28 pm
    A Virtual Private Server is a good way to go if you have some Linux sysadmin
    knowledge, particularly since Xen VPS technology became available.
    I use vpsland.com running Centos 4.1 (free Redhat) and have been very happy.
    They are US based: http://vpsland.com/hosting.php
    Another I considered was Bytemark, who are UK based:
    http://www.bytemark.co.uk/hosting/prices/index.html

    Put "vps linux xen" into Google for more choices.

    Regards, Peter

    -----Original Message-----
    From: catalyst-bounces@lists.rawmode.org
    On Behalf Of Perrin Harkins
    Sent: 21 December 2005 17:07
    To: The elegant MVC web framework
    Subject: Re: [Catalyst] Catalyst on shared hosting
    On Wed, 2005-12-21 at 14:13 +0000, Carl Franks wrote:
    Each script running under fastcgi has it's own process, so you don't
    have the same security issues as mod_perl. You can also have different
    programs loading different versions of the same perl module, again a
    problem under mod_perl.
    You would typically handle this by running separate instances of
    mod_perl for the different versions. It's more work than FastCGI
    though.

    There isn't much reason to use hosts that only offer virtual server
    setups anymore, now that ISPs offer virtual machines with root access
    for such low prices. People who don't have dedicated hardware should
    consider using one of those and running mod_perl or FastCGI rather than
    trying to make CGI or the pure-perl server fast enough.

    - Perrin

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedDec 21, '05 at 1:57p
activeDec 21, '05 at 6:28p
posts4
users4
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase