Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2003
    Location
    McHenry, IL
    Posts
    10
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default mod_wsgi EasyApache module

    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 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 http://fedoraproject.org/wiki/EPEL to your yum repos and run "yum install python26-devel"
    Last edited by challgren; 11-17-2010 at 06:07 PM.
    Chris Hallgren
    Hallgren Networks

  2. #2
    Member
    Join Date
    Feb 2005
    Posts
    223

    Default Re: mod_wsgi EasyApache module

    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.
    Last edited by shacker23; 08-10-2011 at 07:43 PM.

  3. #3
    Member
    Join Date
    Feb 2005
    Posts
    223

    Default Re: mod_wsgi EasyApache module

    Finally figured it out, and documented the process for others who might need it.

    Building mod_wsgi through EasyApache for WHM/cPanel systems

    Hope someone finds it useful!

Similar Threads & Tags
Similar threads

  1. [easyapache] which module enable pdo_mysqli.so ?
    By MGV in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-04-2011, 02:19 PM
  2. EasyApache custom module
    By carock in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-13-2011, 01:58 AM
  3. mpm-itk easyapache module - where is it?
    By fujipadam in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-04-2009, 07:32 PM
  4. Easyapache, main.yaml, i can't remove some module
    By giocafiso in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-26-2008, 04:02 AM
  5. Use System Mysql module in easyapache
    By manokiss in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-29-2004, 10:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube