mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16226] Prevent Apache servers from using MultiViews
PHPBB3-16226
This commit is contained in:
parent
a8e2f4256b
commit
7b70984ef3
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ RewriteRule ^(.*)$ app.php [QSA,L]
|
||||||
#Options +FollowSymLinks
|
#Options +FollowSymLinks
|
||||||
</IfModule>
|
</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
|
# 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
|
# 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.
|
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
|
||||||
|
|
Loading…
Add table
Reference in a new issue