On http://code.google.com/p/modwsgi/ one can read this statement

Daemon mode of mod_wsgi will however only be available on Apache 2.0 or 2.2 running on UNIX, and only when the Apache runtime library underlying Apache has been compiled with support for threading.

What's the reason there's no support for deamon mode under Windows?

I found the above after getting

Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration

error from Apache. It's not a problem with module's inclusion as WSGIScriptAlias directive works ok. I guess the error I get is due the limitation described on the mod_wsgi's wiki.

Accepted Answer

Windows doesn't provide UNIX style fork() system call and so process spawning where child process inherits parent process memory image isn't possible. Apache/mod_wsgi requires fork().

Written by Graham Dumpleton
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki