diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-12-06 08:31:53 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-12-06 08:31:53 +0100 |
commit | 5be4cca4083e3f2611f7725058afa127ef701ef1 (patch) | |
tree | 7b163555c0b146ba57efd86886648fa3d7c67928 /phpBB | |
parent | 3009e7ffbe2fae722995db5a419a04eeba810d71 (diff) | |
parent | 7b70984ef3bcbe4dced1a3ad5fa3ddc2d11c6d62 (diff) | |
download | forums-5be4cca4083e3f2611f7725058afa127ef701ef1.tar forums-5be4cca4083e3f2611f7725058afa127ef701ef1.tar.gz forums-5be4cca4083e3f2611f7725058afa127ef701ef1.tar.bz2 forums-5be4cca4083e3f2611f7725058afa127ef701ef1.tar.xz forums-5be4cca4083e3f2611f7725058afa127ef701ef1.zip |
Merge pull request #5748 from marc1706/ticket/16226
[ticket/16226] Prevent Apache servers from using MultiViews
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/.htaccess | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/.htaccess b/phpBB/.htaccess index 53bce762ea..0be28ab670 100644 --- a/phpBB/.htaccess +++ b/phpBB/.htaccess @@ -36,6 +36,13 @@ RewriteRule ^(.*)$ app.php [QSA,L] #Options +FollowSymLinks </IfModule> +# Apache content negotation tries to interpret non-existent paths as files if +# MultiViews is enabled. This will however cause issues with paths containg +# dots, e.g. for the cron tasks +<IfModule mod_negotiation.c> + Options -MultiViews +</IfModule> + # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from # module mod_authz_host to a new module called mod_access_compat (which may be # disabled) and a new "Require" syntax has been introduced to mod_authz_host. |