Temporarily set:

DEBUG = True

in Django settings module, or otherwise set up Django to email you or otherwise 
log somehow any errors it captures and turns into 500 pages.

Also make sure you have defined templates/handlers for 404 and 500 errors.

Se the Django documentation for more details on these.

Graham

On 17/11/2013, at 12:18 AM, Sebastian Clemens <[email protected]> wrote:

> Hello,
> 
> I have a new server running Plesk 11.5 with Debian 6. That's not the first 
> time for me to get django run with mod_wsgi, but now here is a quite weird 
> issue.
> At first I made a virtual environment and install django + mezzanine + 
> cartridge. Then I used this configuration:
> 
> ServerAlias test.euve32413.serverloft.de
> Alias /robots.txt /var/www/vhosts/sebastian-clemens.de/httpdocs/robots.txt
> Alias /favicon.ico /var/www/vhosts/sebastian-clemens.de/httpdocs/favicon.ico
> 
> Alias /static/ /var/www/vhosts/sebastian-clemens.de/httpdocs/static/
> Alias /media/ /var/www/vhosts/sebastian-clemens.de/httpdocs/static/media/
> 
> WSGIDaemonProcess sebastian-clemens.de display-name=%{GROUP} 
> python-path=/var/www/vhosts/sebastian-clemens.de:/var/www/vhosts/sebastian-clemens.de/httpdocs/lib/python2.6/site-packages:/var/www/vhosts/sebastian-clemens.de/httpdocs/lib/python2.6
> WSGIProcessGroup sebastian-clemens.de
> WSGIApplicationGroup sebastian-clemens.de
> WSGIScriptAlias / /var/www/vhosts/sebastian-clemens.de/httpdocs/wsgi.py
> 
> Here I get a 500 error. At the beginning I saw a few errors in the apache 
> logs about django settings, after fix that the 500 error still remain and I 
> get no more error logs in apache.
> I guess that's not an python error but I don't know where to look further.
> Any advices? :)
> 
> Greetings
> Sebastian
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to