ServerAdmin foobar@example.com ServerName rpi-rgb DocumentRoot /var/www/vhosts/rgb.local ErrorLog ${APACHE_LOG_DIR}/rgb.local_error.log CustomLog ${APACHE_LOG_DIR}/rgb.local_access.log combined SetEnv APP_CONFIG "production" WSGIDaemonProcess rgb user=www-data group=www-data threads=5 WSGIScriptAlias / /var/www/vhosts/rgb.local/rgb.wsgi WSGIScriptReloading Off WSGIPassAuthorization On WSGIProcessGroup rgb WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all