访问wsgi石墨脚本时拒绝客户端
我正在尝试在Mac OS X 10.7 Lion上设置石墨,我已经设置了apache通过WSGI调用python石墨脚本,但是当我尝试访问它时,我从apache中获取了禁止信息,并且在错误日志中。 "client denied by server configuration: /opt/graphite/webapp/graphite.wsgi" 我检查了httpd.conf中是否允许脚本位置以及文件的权限,但是它们似乎正确。我需要做什么才能获得访问权限。下面是httpd.conf,几乎是石墨示例。 <IfModule !wsgi_module.c> LoadModule wsgi_module modules/mod_wsgi.so </IfModule> WSGISocketPrefix /usr/local/apache/run/wigs <VirtualHost _default_:*> ServerName graphite DocumentRoot "/opt/graphite/webapp" ErrorLog /opt/graphite/storage/log/webapp/error.log CustomLog /opt/graphite/storage/log/webapp/access.log common WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 WSGIProcessGroup graphite WSGIApplicationGroup %{GLOBAL} WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL} # XXX You will need …