芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reposadoeverything.com/.htaccess
# Force HTTPS for the entire site RewriteEngine On # Redirect non-HTTPS requests to HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Redirect www to non-www (optional, if needed) RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,R=301] # Redirect specific URLs (e.g., /index.php) to HTTPS homepage RewriteCond %{THE_REQUEST} /index\.php [NC] RewriteRule ^(.*)index\.php$ https://reposadoeverything.com/ [L,R=301]
FileETag None
Header unset ETag Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
# php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php73” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
# php -- END cPanel-generated handler, do not edit