I think you just found my problem...lol. I'll let you know if I still have problems
On Mon, Aug 30, 2010 at 2:59 PM, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Aug 30, 7:26 pm, Bradley Hintze <bradle...@aggiemail.usu.edu> > wrote: >> Hi all, >> >> I have my site on a production server (apache) and am trying to get >> static files to be served but cannot get it to work (serving on the >> same server). Following the django documentation did not work, I >> edited the httpd.conf as described in the documentation but when I >> tried to restart the server the server quit and would not restart. The >> error log did'nt give any info as to why. >> >> I tried this (http://oebfare.com/blog/2007/dec/31/django-and-static-files/) >> which is very similar to the Django documentation but I get the same >> results as described above. >> >> Here are my httpd.contf settings. >> >> #Serving media files for django >> <Location "/"> >> SetHandler python-program >> PythonHandler django.core.handlers.modpython >> SetEnv DJANGO_SETTINGS_MODULE mysite.settings >> PythonDebug On >> </Location> >> >> <Location "/site_media"> >> SetHandler None >> </Location> >> >> Alias /site_media/ >> /Users/bradleyhintze/djcode/production/MolProbity_Compare_test/media >> <Location "/site_media"> >> SetHandler None >> </Location> >> >> WSGIScriptAlias / >> /Users/bradleyhintze/djcode/production/MolProbity_Compare_test/apache/djang >> o.wsgi >> >> <Directory >> /Users/bradleyhintze/djcode/production/MolProbity_Compare_test/apache> >> Order deny,allow >> Allow from all >> </Directory> >> >> Any help would be appreciated. >> >> Thanks >> >> -- >> Bradley J. Hintze >> Graduate Student >> Duke University >> School of Medicine >> 801-712-8799 > > Some weird stuff in that configuration file. You have directives for > both mod_python and mod_wsgi. Which one are you using? (mod_wsgi is > *strongly* recommended over mod_python.) > -- > DR. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@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. > > -- Bradley J. Hintze Graduate Student Duke University School of Medicine 801-712-8799 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.