ServerName $DOMAIN
ServerAdmin $ADMIN_EMAIL
WSGIDaemonProcess $PROJECT_NAME user=$WSGI_USER group=$WSGI_USER processes=$WSGI_PROCESSES threads=$WSGI_THREADS display-name=%{GROUP}
WSGIProcessGroup $PROJECT_NAME
WSGIScriptAlias / $WSGI_FILE
Order allow,deny
allow from all
Alias /media $MEDIA_DIR
Order allow,deny
Allow from all
LogLevel warn
ErrorLog /var/log/apache2/$PROJECT_NAME/error.log
CustomLog /var/log/apache2/$PROJECT_NAME/access.log combined