openstack 配置horizon的问题

hahapp 发布于 2012/06/01 17:34
阅读 2K+
收藏 0

你好,我在为http创建horizon配置文件时出错,配置文件内容为:

WSGIScriptAlias / /usr/lib/python2.6/site-packages/horizon-2012.1-py2.6.egg/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=apache group=apache processes=3 threads=10 home=/usr/lib/python2.6/site-packages/horizon-2012.1-py2.6.egg

SetEnv APACHE_RUN_USER apache
SetEnv APACHE_RUN_GROUP apache
WSGIProcessGroup horizon

DocumentRoot /usr/lib/python2.6/site-packages/horizon-2012.1-py2.6.egg/.blackhole/
Alias /media /usr/lib/python2.6/site-packages/horizon-2012.1-py2.6.egg/openstack_dashboard/static

Options FollowSymLinks
AllowOverride None

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

ErrorLog /var/log/httpd/horizon_error.log
LogLevel warn
CustomLog /var/log/httpd/horizon_access.log combined

WSGISocketPrefix /var/run/httpd
报错为httpd:Syntax error on line 17 of /etc/httpd/conf.d/horizon.conf:
DocumentRoot takes one argument, Root directory of the document tree

请教解决方法,谢谢

加载中
返回顶部
顶部