# VivahSangam — public folder se internal files dur rakhta hai.
# Har internal folder ka apna .htaccess bhi ship hota hai; cPanel zip aksar
# hidden files chhod deta hai, isliye installer unhe dobara bana deta hai.

Options -Indexes

<FilesMatch "^(config\.php|config-sample\.php|\.ht.*)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
  </IfModule>
</FilesMatch>

<IfModule mod_mime.c>
  # uploads mein kabhi code na chale
  RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .php8 .phar
  RemoveType .php .phtml .phar
</IfModule>
