✏️ Edit: .htaccess
Path:
/home/thiqat5/mv1.thiqatech.com/.htaccess
Size: 1.29 KB · Modified: 2026-11-05 22:22:24 · Perm: 0644 · Writable
← Back to directory
👁 View
⬇ Download
# BEGIN InMotion Hosting Block Bots RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (meta-externalagent|Googlebot|Googlebot|bingbot|ClaudeBot|GPTBot|meta-externalagent|Amazonbot) [NC] RewriteRule .* - [F,L] # END InMotion Hosting Block Bots <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # cors Header set Access-Control-Allow-Origin "*" </IfModule> # Hide a specific file <Files .env> Order allow,deny Deny from all </Files> <Files 403.shtml> order allow,deny allow from all </Files> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php80” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php80 .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF