Options -Indexes
RewriteEngine On

# Clean URLs: example.com/signup instead of signup.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ $1.php [L]

<IfModule mod_headers.c>



  # 🚫 Permissions (block camera, mic, GPS, etc.)
  Header set Permissions-Policy "geolocation=(), microphone=(), camera=(), fullscreen=(self), autoplay=(self)"
</IfModule>
