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 I think and apache1

Discussion in 'EasyApache' started by mtl, Nov 2, 2005.

  1. mtl

    mtl Registered

    Joined:
    May 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Anyone know how to get this to work? i'm trying to install request tracker but when i enter

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
    SetHandler perl-script
    PerlHandler RT::Mason

    Apache will not start and complains that it does not know what perlmodule or perlrequire is.

    Can you guys help please :D

    Thanks,
    Mat
     
    #1 mtl, Nov 2, 2005
    Last edited: Nov 2, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    IIRC you cannot compile mod_perl into the apache build that cPanel uses - it doesn't like it. The way round it is to proxy another version of apache on the server with it in. Have a search on the forums for mod_perl and you should find the details that have been posted before about it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mtl

    mtl Registered

    Joined:
    May 4, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    I did have a look for something like that but could not really find anything that i could understand. i'm really new to this :(
     
  4. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    890
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    This Planet
    To really test your mod_perl stuff before moving off to a proxied mod_perl httpd, do the following:

    (do not compile mod_perl while using easyapache ... it never really worked for me)

    (1) Download mod_perl-1.29.tar.gz
    (2) tar -zxvf mod_perl-1.29.tar.gz
    (3) cd mod_perl-1.29

    perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs EVERYTHING=1
    make
    make install

    Test your mod_perl stuff.

    If all works well then use proxied mod_perl httpd otherwise a single mod_perl httpd is an overkill, you have a fat httpd serving even non mod_perl stuff. For using proxied mod_perl you would either have to patch mod_gzip or disable it in cPanel httpd as it would not work because of bug in mod_gzip (with mod_proxy).

    Cheers
    Anup
     
Loading...
Similar Threads - mod_perl apache1
  1. Chris H
    Replies:
    1
    Views:
    413
  2. Eugenio Pacheco
    Replies:
    1
    Views:
    537

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