Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Perl handler

Discussion in 'General Discussion' started by support, Nov 21, 2003.

  1. support

    support Active Member

    Aug 30, 2003
    Likes Received:
    Trophy Points:

    I am trying to build my website (written in HTML::Mason)
    am having a little difficulty. I usually hook HTML::Mason in to the perl-script Apache handler by using the PerlHandler command in a scope within the httpd.conf. I've tried doing something similar in a .htaccess file in the document root but it doesn't seem to like thePerlHandler directive:

    Invalid command 'PerlHandler', perhaps
    mis-spelled or defined by a module not included in the server configuration

    Mod _perl is installed on the server.I want to use HTML::Mason::ApacheHandler

    The contents of the .htaccess file is:

    SetHandler perl-script
    PerlHandler HTML::Mason::ApacheHandler

    Nothing works.
    Please advice

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice