On 9/24/07, Anurag <[EMAIL PROTECTED]> wrote:
>
> Hi,
>     Sorry for this repeat post - but i am getting desperate and
> seeking some quick kindly help.
>
> I am unable to get my admin media to be served by Apache. I am runinng
> on windows.
>
> Here is my httpd.conf
>
> <Location "/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE newsite.settings
>     PythonDebug On
> </Location>
>
> Alias /media/  "C:/Python25/Lib/site-packages/django/contrib/admin/
> media/"
>
> <Directory C:/Python25/Lib/site-packages/django/contrib/admin/media/ >
>        Order deny,allow
>        Allow from all
>  </Directory>
>
> and my settings file has the ADMIN_MEDIA_PREFIX set to /media/

>From http://www.djangoproject.com/documentation/modpython/

    <Location "/media">
        SetHandler None
    </Location>

Jonathan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to