On Sat, Dec 10, 2011 at 7:01 AM, Jiss <jisson.vargh...@dexetra.com> wrote: > Settings.py > STATIC_ROOT = '/home/jisson/Desktop/testcloud.aws/DjangoApis/ > teststaticfiles/'
This is wrong (although it shouldn' t affect your apache+mod_wsgi deployment), per the tree structure you posted earlier, you don't have a teststaticfiles directory. > > /etc/apache2/sites/enabled/DjangoApis: > > [...] > Alias /static/ /home/jisson/Desktop/testcloud.aws/DjangoApis/static > <Directory /home/jisson/Desktop/testcloud.aws/DjangoApis/static> > Order deny,allow > Allow from all > </Directory> > > [...] > > apache errorlog: > tail /var/log/apache2/error.log > [Sat Dec 10 03:16:36 2011] [error] [client 127.0.0.1] File does not > exist: /home/jisson/Desktop/testcloud.aws/DjangoApis/staticjs, > referer: http://test.webapp/ Looks like you are missing a trailing / in the Alias definition. i.e. it should read: Alias /static/ /home/jisson/Desktop/testcloud.aws/DjangoApis/static/ (see https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/) but the fact that all the error log entries are about subdirectories of the static dir (js, images) but no about actual static files is a bit strange. -- Ramiro Morales -- 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.