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.

mod_wsgi EasyApache module

Discussion in 'EasyApache' started by challgren, Nov 17, 2010.

  1. challgren

    challgren Member

    Joined:
    Sep 7, 2003
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Austin, TX
    cPanel Access Level:
    DataCenter Provider
    Are you tired of having to manually recompile modules when apache is rebuilt. While I made a script to allow you to install mod_wsgi via EasyApache. To install you have to follow the commands on EasyApache Custom Modules

    The file can be downloaded at code.google.com/p/modwsgi/issues/detail?id=214
    Issue 214 - modwsgi - Add a download so users running cPanel software can install wsgi without having to break their apache conf - Project Hosting on Google Code

    if you do not have python26 installed this will not work. If your a CentOS user you can add EPEL - FedoraProject to your yum repos and run "yum install python26-devel"
     
    #1 challgren, Nov 17, 2010
    Last edited by a moderator: Mar 23, 2016
  2. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    I've been meaning to try this for a while and finally had a new server to test on. Unfortunately, I did not see any mention of mod_wsgi in the easy_apache setup screens (not sure whether I was supposed to). easy_apache ran to completion, but there was no mod_wsgi.so in my modules directory, and grepping the easy_apache log for mod_wsgi turned up nothing. It seems not to have seen the module at all.

    I've got python2.7 installed in /usr/local/bin - not sure whether that could be related. Since we're not supposed to upgrade the native cPanel version of python, installing a secondary version instead like I've done here, it's not clear how to tell this module where to find the version of python we want it to compile against.

    Any more hints or documentation you can offer? Would really like to get this going. Thanks.
     
    #2 shacker23, Aug 10, 2011
    Last edited: Aug 10, 2011
  3. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Finally figured it out, and documented the process for others who might need it.

    birdhouse.org/blog/2011/08/11/building-mod_wsgi-through-easyapache-for-whmcpanel-systems/
    Building mod_wsgi through EasyApache for WHM/cPanel systems

    Hope someone finds it useful!
     
    #3 shacker23, Aug 11, 2011
    Last edited by a moderator: Mar 23, 2016
  4. wired420

    wired420 Active Member

    Joined:
    Nov 17, 2005
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    8
    Best post I've seen on here in quite a while. Made it rather easy to set up my Mozilla Sync server. Less than 5 minutes from beginning to end (Besides the Apache compile which I watched a episode of Stargate during heh).
     
    #4 wired420, Jul 31, 2012
    Last edited by a moderator: Mar 23, 2016
  5. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Thanks wired20 - Glad people are still finding it useful!
     
  6. MarcoP

    MarcoP Registered

    Joined:
    Nov 17, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    ... and still is as of today!

    Thanks
     
  7. challgren

    challgren Member

    Joined:
    Sep 7, 2003
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Austin, TX
    cPanel Access Level:
    DataCenter Provider
    Good to see its still useful for people!!!
     
  8. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi Chris,

    The EasyApache team is planning to begin development on official implementation of mod_wsgi later this year. I'm happy to see that you were able to install the module by following the custom module documentation.

    Please visit the cPanel Feature Requests website to submit a request for mod_wsgi. The more votes that a feature receives influences our timeline for implementation and development. cPanel Feature Requests

    Thanks for the helpful post and please check out the Feature Requests too!
     
Loading...

Share This Page