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!

mod_perl help!

Discussion in 'General Discussion' started by beachie, Feb 20, 2006.

  1. beachie

    beachie Registered

    Joined:
    Feb 20, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    SORRY - IGNORE ME - I FOUND OTHER POSTS ABOUT THIS

    Hi :)

    I've rebuilt apache from WHM to include the "Perl Module", mod_perl. Running /usr/local/apache/httpd -l confirms that mod_perl.c is loaded, however when I put mod_perl directives in my httpd.conf, apache tells me they're unknown.

    For example, according to the documentation for mod_perl (http://perl.apache.org/docs/1.0/guide/getwet.html) the following should work:

    Alias /perl/ /home/stas/modperl/

    PerlModule Apache::Registry
    <Location /perl/>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
    PerlSendHeader On
    allow from all
    </Location>


    But running /usr/local/apache/bin/apachectl configtest show this:
    Syntax error on line 1181 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration


    Now remember than apache shows that mod_perl is loaded.. What am I doing wrong?!

    Cheers,
    Chris :)
     
    #1 beachie, Feb 20, 2006
    Last edited: Feb 20, 2006
Loading...

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