From f74baad828da8c053c63b3c0c4315bbc0b0088e7 Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Sun, 29 Sep 2013 22:36:32 +0200
Subject: [PATCH] do not treat Python files as CGI scripts

---
 content/.htaccess | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/content/.htaccess b/content/.htaccess
index 4855fae..e129609 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,6 +3,11 @@ AddType image/svg+xml svg svgz
 AddEncoding gzip svgz
 </IfModule>
 
+# Do not treat Python files as CGI scripts.
+<FilesMatch \.py$>
+  SetHandler default-handler
+</FilesMatch>
+
 RewriteEngine on
 
 # We don't need more than that.
-- 
GitLab