17 lines
488 B
ApacheConf
17 lines
488 B
ApacheConf
# Hochgeladene Wiki-Bilder duerfen niemals als Skript ausgefuehrt werden,
|
|
# selbst wenn eine Datei die Typ-/Groessenpruefung in wiki_action.php umgehen sollte.
|
|
<IfModule mod_php.c>
|
|
php_flag engine off
|
|
</IfModule>
|
|
<IfModule mod_php7.c>
|
|
php_flag engine off
|
|
</IfModule>
|
|
|
|
<FilesMatch "\.(php|phtml|php[0-9]?|phar|cgi|pl)$">
|
|
<IfModule mod_authz_core.c>
|
|
Require all denied
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Deny from all
|
|
</IfModule>
|
|
</FilesMatch>
|