20 lines
432 B
ApacheConf
20 lines
432 B
ApacheConf
# Verhindere direkten Zugriff auf config.php
|
|
<Files "config.php">
|
|
Order Allow,Deny
|
|
Deny from all
|
|
</Files>
|
|
|
|
# Verhindere direkten Zugriff auf send-mail.php via GET
|
|
<Files "send-mail.php">
|
|
<Limit GET>
|
|
Order Allow,Deny
|
|
Deny from all
|
|
</Limit>
|
|
</Files>
|
|
|
|
# Verstecke sensible Dateien
|
|
<FilesMatch "^(config\.php|config\.php\.example|\..*|composer\..*)">
|
|
Order Allow,Deny
|
|
Deny from all
|
|
</FilesMatch>
|