| Oleksii Chuprykov | a692810 | 2015-06-11 08:56:58 -0400 | [diff] [blame] | 1 | Listen %PUBLICPORT% | 
 | 2 |  | 
 | 3 | <VirtualHost *:%PUBLICPORT%> | 
 | 4 |     WSGIDaemonProcess heat-api processes=3 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV% | 
 | 5 |     WSGIProcessGroup heat-api | 
 | 6 |     WSGIScriptAlias / %HEAT_BIN_DIR%/heat-wsgi-api | 
 | 7 |     WSGIApplicationGroup %{GLOBAL} | 
 | 8 |     WSGIPassAuthorization On | 
 | 9 |     AllowEncodedSlashes On | 
 | 10 |     <IfVersion >= 2.4> | 
 | 11 |       ErrorLogFormat "%{cu}t %M" | 
 | 12 |     </IfVersion> | 
 | 13 |     ErrorLog /var/log/%APACHE_NAME%/heat-api.log | 
 | 14 |     %SSLENGINE% | 
 | 15 |     %SSLCERTFILE% | 
 | 16 |     %SSLKEYFILE% | 
 | 17 |  | 
 | 18 |     <Directory %HEAT_BIN_DIR%> | 
 | 19 |         <IfVersion >= 2.4> | 
 | 20 |             Require all granted | 
 | 21 |         </IfVersion> | 
 | 22 |         <IfVersion < 2.4> | 
 | 23 |             Order allow,deny | 
 | 24 |             Allow from all | 
 | 25 |         </IfVersion> | 
 | 26 |     </Directory> | 
 | 27 | </VirtualHost> |