Continue working on getting horizon back in shape

This commit is contained in:
Joshua Harlow
2012-08-28 20:54:01 -07:00
parent d54afb7485
commit 8eb7f0d80c
5 changed files with 90 additions and 50 deletions

View File

@@ -2,14 +2,17 @@
This is a cheetah template!
*#
<VirtualHost *:$HORIZON_PORT>
WSGIScriptAlias / $HORIZON_DIR/openstack_dashboard/wsgi/django.wsgi
WSGIScriptAlias / ${HORIZON_DIR}/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=$USER group=$GROUP processes=3 threads=10 home=$HORIZON_DIR
WSGIApplicationGroup %{GLOBAL}
SetEnv APACHE_RUN_USER $USER
SetEnv APACHE_RUN_GROUP $GROUP
WSGIProcessGroup horizon
DocumentRoot $HORIZON_DIR/.blackhole/
#if $BLACK_HOLE_DIR
DocumentRoot $BLACK_HOLE_DIR
#end if
Alias /media $HORIZON_DIR/openstack_dashboard/static
<Directory />
@@ -17,15 +20,15 @@
AllowOverride None
</Directory>
<Directory $HORIZON_DIR/>
<Directory ${HORIZON_DIR}>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/$APACHE_NAME/horizon_error.log
CustomLog /var/log/$APACHE_NAME/horizon_access.log combined
ErrorLog ${ERROR_LOG}
CustomLog ${ACCESS_LOG} combined
LogLevel warn
</VirtualHost>