Thanks Graham, your video presentation is really quite informative. If I can just ask a more Linux related question, why is it that the Python Interpreter has access to Django modules in my home directories, and Apache does not?
On Sep 7, 1:21 am, Graham Dumpleton <[email protected]> wrote: > You must go into the Apache error log to find the actual reason for > the message. There are two primary candidates. Watch/read my > presentation at: > > http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_... > > as it explains both. > > Besides those two prime reasons, a third possibilty is that SELinux > extensions are enabled if using a Linux system. > > My bet though is on the first one described in presentation. That is, > permissions on your home directory are causing it. > > Graham > > On 7 September 2010 00:21, Aza <[email protected]> wrote: > > > > > > > > > Hi All > > > I've added this config in the .../conf.d/ of Apache: > > Listen 8080 > > NameVirtualHost *:8080 > > WSGIPythonPath /home/Aza/Downloads/django121 > > <VirtualHost *:8080> > > ServerAdmin [email protected] > > DocumentRoot /var/www/html > > ServerName django.localhost > > ErrorLog /var/log/httpd/django.localhost-error_log > > CustomLog /var/log/httpd/django.localhost-access_log common > > WSGIScriptAlias / /home/Aza/Downloads/django121/firstproject/ > > djangoweb/django.wsgi > > WSGIDaemonProcess django.localhost processes=2 threads=15 display- > > name=%{GROUP} > > WSGIProcessGroup django.localhost > > <Directory /home/Aza/Downloads/django121/firstproject/media> > > Order allow,deny > > Allow from all > > </Directory> > > <Directory /home/Aza/Downloads/django121/firstproject/djangoweb> > > Order allow,deny > > Allow from all > > </Directory> > > <Directory /var/www/html> > > Options Indexes FollowSymLinks > > AllowOverride None > > Order allow,deny > > Allow from all > > </Directory> > > </VirtualHost> > > > But when I try to access this from my browser I get the error > > mentioned above. All works well when I use the runserver built into > > Django. > > Please assist. > > Thanks > > Aza > > > -- > > You received this message because you are subscribed to the Google Groups > > "modwsgi" group.> To post to this group, send email > > [email protected].> To unsubscribe from this group, send email > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/modwsgi?hl=en. -- 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.
