aboutsummaryrefslogtreecommitdiffstats
path: root/config/httpd.conf-example
diff options
context:
space:
mode:
Diffstat (limited to 'config/httpd.conf-example')
-rw-r--r--config/httpd.conf-example7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example
index 1a3729f5d..00722fbdf 100644
--- a/config/httpd.conf-example
+++ b/config/httpd.conf-example
@@ -108,6 +108,13 @@
RewriteCond %{DOCUMENT_ROOT}/views_cache/cy/request/$2/$1/${escape:$3} -f
RewriteRule ^/cy/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views_cache/cy/request/$2/$1/${escape:$3} [L]
+ # Don't allow anything to execute from the cache
+ <Directory "/var/www/alaveteli/public/views_cache">
+ Options -ExecCGI
+ SetHandler default-handler
+ AllowOverride None
+ </Directory>
+
# Compress assets
<Location />
<IfModule mod_deflate.c>