Hi, I'm using apache and mod_python on Windows. Here's my config on httpd.conf:
<Location "/"> SetHandler python-program PythonPath "['C:/apache2triad/django/projects'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE rico.settings PythonDebug On # Development only PythonAutoReload On </Location> # To make CSS available in admin Alias /media C:\apache2triad\django\src\django\contrib\admin\media My project "rico" stays on: C:\apache2triad\django\projects\rico I've changed my config to the document root, trying to fix the problem, but it didn't worked. The admin works fine using the bultin server (manage.py runserver), but with apache+mod_python didn't work. > Assuming you are using mod_python and Apache, I would guess this is > because all of the mod_python configuration will be in a Location block > with a name like /rico. Which means things under '/' do not get > processed by that block, only things under '/rico/'. You will need to > add another section with <Location /admin> in order to also process > requests to /admin. I've done this, and now it worked, I just repeated the same config in the "/" location for the "/admin" location. Thanks for the help Malcolm. Regards. Enrico --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---