我在Ubuntu 13上有石墨0.9.10。當我運行/ opt/graphite/bin目錄中的'run-graphite-devel-server.py'腳本時,服務器出現。然而,當我訪問端口8080上的網址,我收到以下(500內部服務器)錯誤:石墨安裝拋出錯誤
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)
如何解決任何想法/解決問題。
請求頭:
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Connection keep-alive
Host 192.168.100.100:8080
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
響應頭:
Content-Encoding gzip
Content-Length 592
Content-Type text/html; charset=utf-8
Date Thu, 12 Dec 2013 15:39:53 GMT
Server WSGIServer/0.1 Python/2.7.5+
Vary Accept-Encoding
感謝分享 –