Opened 12 years ago

Closed 12 years ago

#18010 closed Bug (invalid)

Can't access Admin CSS with Apache without ADMIN_MEDIA_PREFIX

Reported by: hyd415@… 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>

Change History (1)

comment:1 by Aymeric Augustin, 12 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top