Kenneth Gonsalves wrote:
I tried location as "/" and admin mounted as:
http://mydomain.com/admin/
admin comes up - but css is not found. On looking at the page source
of both it gives:
"/media/css/base.css/" in both examples, but in the second example i
get a 404 in the logs saying css not found. How to solve this?
This is because /media/css/base.css is part of <Location "/"> and Apache
feeds this url to Django instead of getting it from the filesystem.
To exclude /media from mod_python controlled area use another <Location>:
Alias /media "/physical/path/to/admin/media/"
<Location "/media/">
SetHandler None
</Location>