lbg.conf-apache-mod_wsgi-dist 696 Bytes
# Use only 1 Python sub-interpreter. Multiple sub-interpreters
# play badly with C extensions.

Listen <HTTP_PORT_A>

LoadModule wsgi_module <MOD_WSGI_PATH>

WSGISocketPrefix /var/run/wsgi

ServerAdmin admin@lightbase.com.br
ServerName 127.0.0.1

WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
WSGIDaemonProcess <APP_ROOT_F> user=<HTTPD_USR> group=<HTTPD_GRP> threads=8 python-path=<LBG_VE32_PATH>/lib/python3.2/site-packages
WSGIScriptAlias /<APP_ROOT_F> <LBG_VE32_PATH>/src/LBGenerator/lbgenerator.wsgi

<Directory <LBG_VE32_PATH>>
    WSGIProcessGroup <APP_ROOT_F>
    <DIR_RULES>
</Directory>

ErrorLog <VAR_LOG_HTTPD>/lbg-error.log
CustomLog <VAR_LOG_HTTPD>/lbg-access.log combined