apache: Don't just send 403s on Apache 2.4
Change-Id: I3be37aadf7e33aa84d289beba6445a80c870d21f
This commit is contained in:
parent
4b020efa66
commit
d63b5653f9
|
@ -72,6 +72,15 @@
|
|||
# Don't run arbitrary PHP code.
|
||||
php_admin_flag engine off
|
||||
</Directory>
|
||||
<Directory "<%= scope.lookupvar('mediawiki::mediawiki_location') %>">
|
||||
<IfVersion >= 2.4>
|
||||
Require all granted
|
||||
</IfVersion>
|
||||
<IfVersion < 2.4>
|
||||
Order allow,deny
|
||||
allow from all
|
||||
</IfVersion>
|
||||
</Directory>
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
<Directory "<%= scope.lookupvar('mediawiki::mediawiki_location') %>">
|
||||
|
|
Loading…
Reference in New Issue