Opened 7 years ago

Closed 7 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


First time django user. I had to manually add in this following line to the 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

Change History (1)

comment:1 Changed 7 years ago by Aymeric Augustin

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