Added all common modules in conductor directory
[optf/has.git] / conductor / examples / apache2 / conductor.conf
1 # This is an example Apache2 configuration file for using the
2 # conductor API through mod_wsgi.
3
4 # Note: If you are using a Debian-based system then the paths
5 # "/var/log/httpd" and "/var/run/httpd" will use "apache2" instead
6 # of "httpd".
7 #
8 # The number of processes and threads is an example only and should
9 # be adjusted according to local requirements.
10
11 Listen 8091
12
13 <VirtualHost *:8091>
14     WSGIDaemonProcess conductor-api processes=2 threads=10 user=SOMEUSER display-name=%{GROUP}
15     WSGIProcessGroup conductor-api
16     WSGIScriptAlias / /var/www/conductor/app
17     WSGIApplicationGroup %{GLOBAL}
18     <IfVersion >= 2.4>
19         ErrorLogFormat "%{cu}t %M"
20     </IfVersion>
21     ErrorLog /var/log/httpd/conductor_error.log
22     CustomLog /var/log/httpd/conductor_access.log combined
23 </VirtualHost>
24
25 WSGISocketPrefix /var/run/httpd