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.

EasyApache custom module

Discussion in 'EasyApache' started by carock, Jul 30, 2010.

  1. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    St. Charles, MO
    I have mod_wsgi installed, but using EasyApache causes problems.

    I was looking through the EasyApache Custom Modules

    CustomMods < EasyApache3 < TWiki

    This appears to be a way to have EasyApache comile and install custom Apache modules.

    I don't really want to figure that out, I just need my already compiled module copied back into the /usr/local/apache/modules directory after EasyApache wipes that directory out.

    Does anyone know if there's a way to do that automatically without having to wait for EasyApache to wipe out the directory during compile and make a copy before it finishes so the httpd.conf passes the test?

    Thanks,
    Chuck
     
  2. challgren

    challgren Member

    Joined:
    Sep 7, 2003
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Austin, TX
    cPanel Access Level:
    DataCenter Provider
    I'm actually writing the mod_wsgi module right now.
     
  3. challgren

    challgren Member

    Joined:
    Sep 7, 2003
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Austin, TX
    cPanel Access Level:
    DataCenter Provider
  4. ST-Nathan

    ST-Nathan Member

    Joined:
    Jan 13, 2011
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    1
    Just ran into the same issue, and was also thinking custom modules seems like overkill. What I came up with was this:

    EasyApache Hook Scripts

    Looks like you could use /scripts/after_apache_make_install to copy any .so files back into the apache modules directory. (Or rebuild them as their 'hint' suggests.)
     
Loading...

Share This Page