The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl handler

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

  1. support

    support Active Member

    Joined:
    Aug 30, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    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
    thanks
    support.
     
Loading...

Share This Page