On Jul 26, 3:41 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Jul 25, 2:11 pm, Jose Sibande <jbsiba...@gmail.com> wrote:> I just
> uploaded my application to my server and this is the error that
> > I am getting when I try to restart apache:
> > Restarting web server: apache2Syntax error on line 6 of /etc/apache2/
> > httpd.conf:
> > Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by
> > a module not included in the server configuration
> > failed!
>
> > And my /etc/apache2/httpd.conf file looks like this:
>
> <snip>
>
> You don't seem to be actually loading the mod_wsgi module. According
> to the mod_wsgi installation docs[1], you should do this before the
> VirtualHosts:
>
> LoadModule wsgi_module modules/mod_wsgi.so
>
> --
> DR.
>
> [1]http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Loading_...
And if it isn't that, be aware that daemon mode isn't available for
the following:
1. Windows.
2. Apache 1.3 on UNIX
3. Apache 2.X where the underlying Apache Runtime Libraries are not
built with thread support.
Number 3 is still sometimes the case on BSD systems. Note that 3 has
got nothing to do with prefork MPM. If the APR has thread support,
even if you are using prefork MPM, you can still use daemon mode.
Graham
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---