I tried the following in my httpd.conf and it still is not serving any
admin media

<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE satchmo.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>

On Sep 21, 4:57 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 21-Sep-07, at 5:13 PM, Anurag wrote:
>
> >   However my admin interface is all garbled up and what i did was i
> > copied the media directory from /admin/media into the htdocs of my
> > Apache setup. But i am still unable to see the admin interface
> > correctly.
>
> coming from php? Never put anything in htdocs. You need an alias like
>
> Alias /media/ "/home/anurag/django_src/django/contrib/admin/media/"
>   <Directory /home/anurag/django_src/django/contrib/admin/media/>
>        Order deny,allow
>        Allow from all
>      </Directory>
>
> and in settings.py
> ADMIN_MEDIA_PREFIX = '/media/'
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to