ruạṛ
Options All -Indexes AddType application/font-woff woff ErrorDocument 404 /404-error-page.php # block direct access to files which are only needed internally RedirectMatch 404 ^/(.*)ini$ RedirectMatch 404 ^/resources/template/(.*)php$ #Add any redirects from previous site here # Redirect 301 /[path]/[file] http://www.[domain]/[path]/ #non suPHP sites #php_flag display_errors on #php_value error_reporting 7 # mod_rewrite in use Options +FollowSymlinks RewriteEngine On # Enforce HTTPS and www prefix, should replace above code on SSL enabled sites # Will probably become standard at some point RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTPS}s ^on(s)|hg RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # php.ini inheritance # suPHP_ConfigPath /home/[username]/public_html <Files php.ini> order allow,deny deny from all </Files> <IfModule mod_speling.c> CheckSpelling on </IfModule> # 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
cải xoăn