From aa742442e31f5bf602fee4c6f462aabe3fcd76c3 Mon Sep 17 00:00:00 2001 From: "Someshwar, Rudra (PG/T - Comp Sci & Elec Eng)" <rs01922@surrey.ac.uk> Date: Sat, 13 May 2023 17:56:14 +0000 Subject: [PATCH] Update file apache2.conf --- apache2.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apache2.conf b/apache2.conf index 996c713..97c6a78 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 -- GitLab