diff --git a/content/.htaccess b/content/.htaccess
index 4855fae4ba841dbbe2f7ee9a1959817c3427108d..e129609285c4779173a675aa866af02f484a1d23 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.