Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Provided that on the server I have:

  • mod_wsgi loaded and enabled
  • all-powerful htaccess,

can I use mod_wsgi without the need to edit the global apache config files? I don't have administrative privileges on the server.

With modpython is was possible to do everything from the root folder's htaccess.

If the answer is no, as the QuickConfigurationGuide seems to suggest, what is the best thing I can ask to my system administrator to do so that they can edit the configuration once and never talk to me again? Consider a multi-user system such as what you find in shared hosting or a University's user pages, for example.

I'm trying to deploy a framework like django, cherry py or, but I don't think that should make a difference.

share|improve this question
up vote 2 down vote accepted


You can use AddHandler for wsgi-script.

That alone is as dangerous as it was in mod_python because you are running stuff in the main Apache child worker processes and any system administrator who has any level of paranoia shouldn't allow that on a shared system.

The system administrator should at least set up a mod_wsgi daemon process group for you and force anything you do in your directory to run in that separate daemon process group.

So presuming things are somewhere under your home directory, they should use something like:

WSGIDaemonProcess gozzilli user=gozzilli

<Directory /home/gozzilli>
WSGIProcessGroup gozzilli
share|improve this answer
But would they have to do this for each user? – gozzilli May 17 '12 at 11:32
Yes. There is no way to have dynamic daemon process groups created on demand at this stage. – Graham Dumpleton May 18 '12 at 2:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.