Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed issue #16166: Survey taking/editing uploaded pictures not showi…
…ng up (#1408)

Dev: Allow .htaccess to also work with apache 2.4 syntax.
  • Loading branch information
tgurr committed Apr 22, 2020
1 parent fcbecd1 commit fa4022f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion upload/surveys/.htaccess
@@ -1,3 +1,20 @@
<FilesMatch "^fu_[a-z0-9]*$">
deny from all
<IfModule mod_version.c>
<IfVersion < 2.4>
Order deny,allow
Deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</IfModule>
</FilesMatch>

0 comments on commit fa4022f

Please sign in to comment.