diff --git a/apache2.conf b/apache2.conf index 996c7137dbf688226db902d350d00c4aaf8c2660..97c6a7861f43dc91ef982bffd4167f8f463a642a 100644 --- a/apache2.conf +++ b/apache2.conf @@ -156,6 +156,15 @@ Include ports.conf # the latter may be used for local directories served by the web server. If # your system is serving content from a sub-directory in /srv you must allow # access here, or in any related virtual host. +WSGIDaemonProcess flaskapp threads=5 +WSGIScriptAlias / /var/www/html/flaskapp/flaskapp.wsgi +<Directory flaskapp> + WSGIProcessGroup flaskapp + WSGIApplicationGroup %{GLOBAL} + Order deny,allow + Allow from all +</Directory> + <Directory /> Options FollowSymLinks AllowOverride None