challgren

Member
Sep 7, 2003
16
1
153
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"
 
Last edited by a moderator:

shacker23

Well-Known Member
Feb 20, 2005
263
1
168
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:

shacker23

Well-Known Member
Feb 20, 2005
263
1
168
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!
 
Last edited by a moderator:

wired420

Active Member
Nov 17, 2005
35
2
158
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!
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).
 
Last edited by a moderator:

ScottTh

Well-Known Member
Jan 28, 2013
157
2
18
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!