changeset 352:03a9bab1a56a

Make mod_wsgi settings optional This lets us run a test server without it (and all the dev.ibboard.co.uk services)
author IBBoard <dev@ibboard.co.uk>
date Wed, 30 Sep 2020 19:39:54 +0100
parents 78a9c5946154
children e046606cf218
files modules/website/files/zzz-0-custom.conf
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/files/zzz-0-custom.conf	Fri Oct 02 20:16:04 2020 +0100
+++ b/modules/website/files/zzz-0-custom.conf	Wed Sep 30 19:39:54 2020 +0100
@@ -31,7 +31,9 @@
 	AddOutputFilterByType DEFLATE application/x-javascript
 </ifModule>
 
-WSGISocketPrefix run/wsgi
+<IfModule mod_wsgi.c>
+	WSGISocketPrefix run/wsgi
+</IfModule>
 
 BrowserMatch "Mozilla/2"       nokeepalive
 BrowserMatch "MSIE 4\.0b2;"    nokeepalive downgrade-1.0 force-response-1.0