Hello,

I tried all kinds of directory paths in these and nothing worked, so I
returned them to blank.

MEDIA_ROOT = ''
MEDIA_URL = ''
ADMIN_MEDIA_PREFIX = ''

This is my http.conf file, but the third section on media also doesn't
seem to have any effect.  The server restarts fine, the admin comes up
fine, but no CSS formatting.
<Location "/">
    SetHandler python-program
    PythonPath "['C:/django'] + sys.path"
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE myprograms.settings
    PythonDebug On
</Location>

<Location "/cpssite/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE cpssite.settings
    PythonInterpreter /cpssite
    PythonDebug On
</Location>

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

May

On Jan 23, 12:15 pm, Austin Gabel <aga...@gmail.com> wrote:
> What do you have for MEDIA_ROOT, MEDIA_URL, and ADMIN_MEDIA_PREFIX in your
> settings file?
>
> On Fri, Jan 23, 2009 at 12:50 PM, May <adles...@gmail.com> wrote:
>
> > Hello,
>
> > I have windows, python 2.5, mod python and apache 2.2 working.
> > However, when accessing the admin pages the admin CSS does not
> > appear.  I tried creating a subdir admin under my templates folder and
> > copied the base_site.html to it, but I still can't get the css to
> > work.
>
> > My settings file:
>
> > TEMPLATE_DIRS:
> >    'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/
> > templates',
>
> > INSTALLED_APPS:
> >    'django.contrib.admin',
>
> > URL file:
> >    (r'^admin/(.*)', admin.site.root),
>
> > Is there something I should be adding to the http.conf file?
>
> > Thanks for any help,
>
> > May
>
>
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to