Articles of wsgi

访问wsgi石墨脚本时拒绝客户端

我试图在我的Mac OS X 10.7狮子上设置石墨,我已经build立了Apache通过WSGI调用python石墨脚本,但是当我尝试访问它时,我从apache获取了一个forbiden并且在错误日志。 "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 to create this file! […]

推荐的Nginx + WSGIconfiguration

请使用不同的Nginx WSGI接口解释优点/缺点? 请详细解释每种configuration的区别? 哪个configuration应该最好? 如果相关,你现在在跑什么,为什么? 我见过的一些技巧,但请告诉我,如果我错过了任何: mod_wsgi的 uWSGI通过Nginx uWSGI FastCGI + flup 代理另一个WSGI服务器( gevent , gunicorn , 龙卷风 , FAPWS3 )