diff options
-rw-r--r-- | config/httpd.conf-example | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example index 2f6ca9c75..e010ac22f 100644 --- a/config/httpd.conf-example +++ b/config/httpd.conf-example @@ -103,6 +103,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> |