# Simplified .htaccess for basic functionality
# Remove advanced features that might cause issues

# Basic security (commented out for now)
# Header always set X-Content-Type-Options nosniff
# Header always set X-Frame-Options DENY

# Prevent access to sensitive files
<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak)$">
    Require all denied
</FilesMatch>

# Basic compression (if mod_deflate is available)
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/javascript
</IfModule>

# Disable directory browsing
Options -Indexes