Hi all, copying the admin media folder(c:\Python24\Lib\site-packages\django \contrib\admin\media) to my web servers root (c:\xampplite\htdocs \admin_media) calling this url; http://localhost/django/admin/ , I get the admin pages showing up fine with the right CSS.
My apache config looks like this: <Location "/django"> SetHandler mod_python PythonHandler django.core.handlers.modpython PythonPath "[r'D:/projects/Django_projects/'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE testdjang.settings PythonDebug On </Location> my setting for the admin media looks like this: # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a # trailing slash. # Examples: "http://foo.com/media/", "/media/". ADMIN_MEDIA_PREFIX = '/admin_media/' MY problem is, I would like the admin pages to be called from the root directory and not a subdirectory, for example: <Location "/"> # <-------- HERE IS THE CHANGE SetHandler mod_python PythonHandler django.core.handlers.modpython PythonPath "[r'D:/projects/Django_projects/'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE testdjango.settings PythonDebug On </Location> the admin pages still work, but the pages cannot find the CSS, the following does not work: ADMIN_MEDIA_PREFIX = '/admin_media/' #or ADMIN_MEDIA_PREFIX = '/admin_media' # or ADMIN_MEDIA_PREFIX = 'admin_media/' I have tried all the tips in the docs, Django book, comments and blogs, could someone tell me what I´m doing wrong? Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

