# .htaccess for logs
# Generated: 2025-10-30 14:53:53
# Security configuration for tenant log directory
############################################################

# Deny all direct access to log files
# Logs should only be accessed via authenticated admin panel
Order Deny,Allow
Deny from all

# Prevent directory listing
Options -Indexes
DirectoryIndex disabled

# Disable PHP execution
php_flag engine off

# Block access to all log files
<FilesMatch "\.(log|txt)$">
    Order Deny,Allow
    Deny from all
</FilesMatch>

# Security headers
<IfModule mod_headers.c>
    Header set X-Robots-Tag "noindex, nofollow, noarchive"
</IfModule>
