50e7b418a5
Miss access log in senlin devstak. Change-Id: I9116a879d8ea3a97020ce2091476e91fbacf9f63 Closes-Bug: #1674241
36 lines
1011 B
Plaintext
36 lines
1011 B
Plaintext
Listen %PORT%
|
|
|
|
<VirtualHost *:%PORT%>
|
|
WSGIDaemonProcess senlin-api processes=2 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
|
|
WSGIProcessGroup senlin-api
|
|
WSGIScriptAlias / %SENLIN_BIN_DIR%/senlin-wsgi-api
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
AllowEncodedSlashes On
|
|
<IfVersion >= 2.4>
|
|
ErrorLogFormat "%{cu}t %M"
|
|
</IfVersion>
|
|
ErrorLog /var/log/%APACHE_NAME%/senlin-api.log
|
|
CustomLog /var/log/%APACHE_NAME%/senlin_api_access.log combined
|
|
|
|
<Directory %SENLIN_BIN_DIR%>
|
|
<IfVersion >= 2.4>
|
|
Require all granted
|
|
</IfVersion>
|
|
<IfVersion < 2.4>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfVersion>
|
|
</Directory>
|
|
</VirtualHost>
|
|
|
|
Alias /cluster %SENLIN_BIN_DIR%/senlin-wsgi-api
|
|
<Location /cluster>
|
|
SetHandler wsgi-script
|
|
Options +ExecCGI
|
|
WSGIProcessGroup senlin-api
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
AllowEncodedSlashes On
|
|
</Location>
|