File: //home/nepi/q.nepi.ir/.htaccess
# جلوگیری از دانلود فایلهای دیتابیس/بکاپ
<FilesMatch "\.(sqlite|sqlite3|db|bak|sql)$">
Require all denied
</FilesMatch>
# جلوگیری از لیست شدن فایلها
Options -Indexes
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET"
Header set Access-Control-Allow-Headers "Content-Type, Authorization"
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit