Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

i recently sent an email to a web hosting company for a
website i am currently working on:-

> Can make my own mod_perl modules for ur servers? If so how would I
> configure the server to use my modules through plesk?
>
Plesk is just a front end to setting up mail accounts/databases etc.

You should be able to simply add your files to an area within the webspace and then just update the INC path at the beginning of your scripts to this area.

If you program under perl cgi (via the cgi-bin) we can add standard cpan modules for you if necessary - depending on their requirements.

Has any1 else experienced this, if so can they please advise me on what to do?

2006-04-06 Retitled by planetscape, as per Monastery guidelines
Original title: 'using ur own mod_perl modules on hosted sites?'

  • Comment on using your own mod_perl modules on hosted sites?

Replies are listed 'Best First'.
Re: using your own mod_perl modules on hosted sites?
by Corion (Patriarch) on Apr 05, 2006 at 16:32 UTC

    What part of If you program under perl cgi (via the cgi-bin) we can add standard cpan modules for you if necessary - depending on their requirements. do you have problems with? mod_perl cannot be used conveniently in a shared hosting environment.

    You don't need to rely on your hosting provider to install modules for CGI if you follow the module installation guides on this website.

Re: using your own mod_perl modules on hosted sites?
by perrin (Chancellor) on Apr 05, 2006 at 17:50 UTC
    If you want to use mod_perl and your ISP won't support it, you could look at using one of the ones listed here.
      PerlModule Apache::CPH

      <Location /CPH>
      SetHandler "perl-script"
      PerlHandler Apache::CPH
      </Location>

      This is what i want, but it would mean each time the module is updated
      the webserver would have to be restarted.
      will web hosting companies allow this?

        A standard shared-hosting provider will not allow mod_perl.
        You can completely control the Apache server with mod_perl.
        You are unlikely to get permission to restart Apache.
        Those hosts which allow mod_perl in a shared environment usually want to vet your code first, thise may be an onerous process if your code is not clear and simple.