My question is what do I need to do to straighten out the media path, so I can load amr.css.
When trying to load amr.css, my application gets a 404. 10.100.0.88 - - [01/Dec/2010:10:03:06 -0500] "GET /css/amr.css HTTP/ 1.1" 404 228 6 "http://amrserver:8002/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv: 1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12" Here's where amr.css is loaded in base.html <html> <!-- Test Comment --> <head> <title>{% block title %}Town of Arlington Water Department AMR System{% endblock %} </title> <link rel="stylesheet" type="text/css" href="css/amr.css" /> </head> Here are the paths in settings.py MEDIA_ROOT = '/home/amr/django/amr/' MEDIA_URL = 'media/' ADMIN_MEDIA_PREFIX = '/media/' The path to amr.css is /home/amr/django/amr/media/css and here is the configuration from apache Listen 8002 <VirtualHost _default_:8002> Alias /media /home/amr/django/amr/media <Location /> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings SetEnv PYTHON_EGG_CACHE /tmp/.python_eggs PythonOption django.root /home/amr/django/amr PythonPath "['/home/amr/django/amr/bin', '/home/amr/django', '/ home/amr/djan go/amr', '/home/amr/django/amr/media', '/home/django/amr/media/css'] + sys.path" PythonDebug On Any thoughts or pointers would be appreciated. -- 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.