Opened 13 years ago
Closed 13 years ago
#18010 closed Bug (invalid)
Can't access Admin CSS with Apache without ADMIN_MEDIA_PREFIX
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.staticfiles | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hello,
First time django user. I had to manually add in this following line to the settings.py file for my admin css to be accessible.
ADMIN_MEDIA_PREFIX = '/static/admin/'
Here are my other settings for your perusal:
STATIC_ROOT = '/home/ubuntu/static/'
STATIC_URL = '/static/'
And my apache http.conf file has:
Alias /static/ /home/ubuntu/static/
<Directory /home/ubuntu/static>
Order deny,allow
Allow from all
</Directory>
Note:
See TracTickets
for help on using tickets.
Please see TicketClosingReasons/UseSupportChannels