19 lines
446 B
ApacheConf
19 lines
446 B
ApacheConf
# Schutz der Konfigurationsdatei
|
|
<Files "config.php">
|
|
Order allow,deny
|
|
Deny from all
|
|
</Files>
|
|
|
|
# Schutz der PHPMailer-Dateien (nur über PHP-Includes erreichbar)
|
|
<FilesMatch "^(PHPMailer|SMTP|Exception)\.php$">
|
|
Order allow,deny
|
|
Deny from all
|
|
</FilesMatch>
|
|
|
|
# Optional: Schutz vor Directory Browsing
|
|
Options -Indexes
|
|
|
|
# Optional: PHP Fehler nicht anzeigen (für Produktivbetrieb)
|
|
php_flag display_errors Off
|
|
php_flag log_errors On
|