graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #06564
Re: [Question #649208]: Can't collectstatic
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208
Status: Answered => Open
Peter Senna is still having a problem:
Hi Dennis,
Thank you for the message. Unfortunately it did not help. I'm having
issues calling the 'django-admin collectstatic', and my apache conf
looks sort of sane, pasted it on the end of the email:
Any ideas of what I'm missing so 'django-admin collectstatic' will run?
Thanks a lot!
<VirtualHost *:80>
ServerName graphite-web
DocumentRoot "/usr/share/graphite/webapp"
ErrorLog /var/log/httpd/graphite-web-error.log
CustomLog /var/log/httpd/graphite-web-access.log common
# Header set Access-Control-Allow-Origin "*"
# Header set Access-Control-Allow-Methods "GET, OPTIONS"
# Header set Access-Control-Allow-Headers "origin, authorization, accept"
# Header set Access-Control-Allow-Credentials true
WSGIScriptAlias / /usr/share/graphite/graphite-web.wsgi
WSGIImportScript /usr/share/graphite/graphite-web.wsgi process-group=%{GLOBAL} application-group=%{GLOBAL}
<Location "/content/">
SetHandler None
</Location>
Alias /media/ "/usr/lib/python2.7/site-packages/django/contrib/admin/media/"
<Location "/media/">
SetHandler None
</Location>
<Directory "/usr/share/graphite/">
<IfModule mod_authz_core.c>
# Apache 2.4
#Require local
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
</VirtualHost>
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.