Wednesday, June 1, 2011

mod_wsgi on cPanel/WHM gets easier

If you run a cPanel/WHM server, and have manually compiled mod_wsgi in
the past, you know that updating apache/php for the rest of your
server is a pain, since the easy_apache build script is unaware of the
custom mod_wsgi module and discards it during compilation. And since
you have enabled mod_wsgi in your httpd.conf headers, the build script
fails at the end of the process since it can no longer find the
referenced module.

All of this just got a lot easier - there is now an official mod_wsgi
add-on for easy_apache, making the whole process wsgi-aware.

http://code.google.com/p/modwsgi/issues/detail?id=214

I have not yet tested it but early reports are positive.

Also, if you want to see cPanel systems with native Django support
(much like the native Rails support that's there now), please log your
interest in this thread - official cPanel devs are watching and
seeking input from the community about how it should work:

http://forums.cpanel.net/f145/django-support-146541.html

All of this may sound obscure, but the difficulty of deployment on
standard web hosts is one of the biggest barriers to wider Django
adoption. cPanel is the most common web hosting system in the world,
period. Getting good Django support into WHM/cPanel would be great for
Django's popularity.

Scot

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment