Hello, i had the same error which went away after i added "Allow" directive in to my httpd.conf.
konstantin On Mar 4, 10:23 am, "Greg Donald" <[EMAIL PROTECTED]> wrote: > I have a local Apache vhost issue. I cannot get the /media files to > work with my admin, so my admin has no CSS. > > My vhost looks like this: > > NameVirtualHost 127.0.0.1 > > <VirtualHost 127.0.0.1> > ServerName groceries > <Directory /> > SetHandler python-program > PythonHandler django.core.handlers.modpython > PythonPath "[ '/opt/local/apache2/htdocs' ] + sys.path" > SetEnv DJANGO_SETTINGS_MODULE groceries.settings > PythonDebug On > </Directory> > Alias /media /usr/src/django_src/django/contrib/admin/media > <Location "/media/"> > SetHandler None > </Location> > </VirtualHost> > > In my settings.py I have the media variables set like this: > > MEDIA_ROOT = '/usr/src/django_src/django/contrib/admin/media' > MEDIA_URL = '' > ADMIN_MEDIA_PREFIX = 'http://groceries/media/' > > I have tried a number of different variations in the vhost and in my > settings.py based on list-serve postings and Googling and whatnot. > > The error I'm currently getting is this: > > [Sun Mar 04 09:00:27 2007] [error] [client 127.0.0.1] client denied by > server configuration: > /usr/src/django_src/django/contrib/admin/media/css/login.css > > Every directory in the path up to the media folder is readable by all, > so I'm pretty sure it's not a permission issue on the file system. I > even copied the media folder into the Django app directory at one > point, no help. Other than the media files, my Django app functions > perfectly. > > Any idea what I'm doing wrong or what else can I do to debug this? > > Thanks, > > -- > Greg Donaldhttp://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---