compass-core/misc/apache
Xicheng Chang 9449deffce Add confs
Change-Id: Ib9bc2c5c6ca224bb88bccf296fcfd8fafbcaee0d
2016-07-11 18:17:41 -04:00
..
README Migrate repo of 'compass' to repo of 'compass-core', leave 'compass' to host project homepage 2014-01-08 19:18:04 -08:00
cobbler_web.conf make install script rerun and add logrotate support. 2014-02-07 21:54:28 -08:00
http_pip.conf add pip repo for deployment machines 2016-01-04 10:11:29 +08:00
images.conf Add confs 2016-07-11 18:17:41 -04:00
ods-server.conf Support install.sh for installing compass onto centos7 2015-12-18 16:37:19 -08:00
packages.conf Add confs 2016-07-11 18:17:41 -04:00
ssl.conf Support install.sh for installing compass onto centos7 2015-12-18 16:37:19 -08:00

README

Apache2 is supported. mod_wsgi is required to run Compass web app. 

On Ubuntu systems (e.g, 12.04), you can install mod_wsgi with
  sudo aptitude install libapache2-mod-wsgi

The current wsgi config file assumes that the environment variable
ODS_PROJECT_HOME is set in /etc/apache2/envvars file.You also need
to make sure mod_rewrite module in apache is enabled. If not, you
need to run the command: sudo a2enmod rewrite

We also assume that the server host name is ods-server.us.huawei.com.

Restart Apache to get mod_wsgi to work.

sudo service apache2 restart