2009/6/3 Charly <
charly....@googlemail.com>:
>
> Hi everyone,
> I'm trying to use mod_wsgi on my new server, but everything I get is
> an Internal Server Error (500). My httpd.conf looks like:
>
> WSGIScriptAlias / /var/www/laura/django.wsgi
> ErrorLog logs/error.log
That cannot be all you have as additional configuration is needed beyond that.
Have you followed instructions in:
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
to get even a basic hello world program working before you dove head
first into trying to get something more complicated like Django
working?
Have you set LogLevel to 'info' as described in:
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
in order to get more information out mof_wsgi about what it is doing?
Please do those two things if you haven't already, or indicate that
you did successfully get a hello world application running. If you
have already, then supply the more complete configuration you are
using related to your WSGI application akin to what the configuration
guide says you are meant to be using. It cannot be just what you say
you are using.
For Django, the configuration you should be used and what the WSGI
file should look like is explained in:
http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
Whether you did a hello world program first, is that the instructions
you were using?
Graham