2009/8/17 cd34 <[email protected]>: > > On Aug 16, 8:08 pm, Kellie <[email protected]> wrote: >> I am new to django and mod_wsgi. I've been reading all of the >> documentation and got mod_wsgi to work with the sample script. When I >> try to change it to use django I get a server error 500. Here is my >> setup: > > using a virtual environment? > > import site > site.addsitedir('/var/www/packagename/lib/python2.5/site-packages') > > once you get beyond that, if it gives an error about the database and > you're using sqlite, the webserver probably doesn't have write > permissions to the files.
That is only one of many possibilities. Neither a virtual environment or sqlite need be involved to get a 500 response. It is important to see all the error log messages first and if no log messages, then that itself implies a few other possibilities. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
