# Deny access to config.php
<Files "config.php">
    Order allow,deny
    Deny from all
</Files>

# Deny access to sensitive files
<FilesMatch "^(config\.php|\.env|\.git.*)$">
    Order allow,deny
    Deny from all
</FilesMatch>

# Enable error reporting (disable in production)
# php_flag display_errors on
# php_value error_reporting E_ALL

# Set default charset
AddDefaultCharset UTF-8

# Enable mod_rewrite if needed
<IfModule mod_rewrite.c>
    RewriteEngine On
</IfModule>
