# WireGuard Telegram Bot .htaccess

# Deny access to sensitive files
<FilesMatch "^(config\.php|MikroTikAPI\.php|WireGuardManager\.php|TelegramBot\.php|composer\.(json|lock))$">
    Require all denied
</FilesMatch>

# Deny access to data directory
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^data/ - [F,L]
</IfModule>

# Block directory listing
Options -Indexes

# PHP settings
<IfModule mod_php.c>
    php_flag display_errors Off
    php_flag log_errors On
</IfModule>
