[odrs-web/oscp] Land proper permissions for the wsgi script
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Land proper permissions for the wsgi script
- Date: Tue, 13 Nov 2018 09:13:29 +0000 (UTC)
commit dd4ffdeaeb7b7a9d79e89b10ef74292a75e99bb7
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 10:13:20 2018 +0100
Land proper permissions for the wsgi script
app_data/{ => wsgi-scripts}/odrs.wsgi | 0
odrs.gnome.org.conf | 10 +++++++---
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/app_data/odrs.wsgi b/app_data/wsgi-scripts/odrs.wsgi
similarity index 100%
rename from app_data/odrs.wsgi
rename to app_data/wsgi-scripts/odrs.wsgi
diff --git a/odrs.gnome.org.conf b/odrs.gnome.org.conf
index 188b899..4a2ceb9 100644
--- a/odrs.gnome.org.conf
+++ b/odrs.gnome.org.conf
@@ -13,7 +13,7 @@
WSGIDaemonProcess odrs.gnome.org processes=10 threads=15 maximum-requests=100
WSGIProcessGroup odrs.gnome.org
- WSGIScriptAlias / /odrs-web/odrs.wsgi
+ WSGIScriptAlias / /odrs-web/wsgi-scripts/odrs.wsgi
SetEnv ODRS_REVIEWS_SECRET replace_odrs_secret
SetEnv MYSQL_DB_USERNAME replace_odrs_username
@@ -32,6 +32,10 @@
<Directory "/odrs-web/app/static">
AllowOverride None
- order allow,deny
- allow from all
+
+ Require all granted
+</Directory>
+
+<Directory "/odrs-web/wsgi-scripts">
+ Require all granted
</Directory>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]