????
Current Path : /home/r6536736/public_html/tsubaki-home.com/ |
Current File : /home/r6536736/public_html/tsubaki-home.com/htaccess.txt |
Options -Indexes RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.tsubaki-home\.com)(:80)? [NC] RewriteRule ^(.*) https://tsubaki-home.com/$1 [R=301,L] DirectoryIndex index.html index.php order deny,allow RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://tsubaki-home.com/$1 [R=301,L] <Files ~ "\.(htaccess|htpasswd)$"> deny from all </Files> ExpiresActive On ExpiresByType text/css "access plus 10 days" ExpiresByType text/javascript "access plus 10 days" ExpiresByType image/gif "access plus 10 days" ExpiresByType image/jpg "access plus 10 days" ExpiresByType image/jpeg "access plus 10 days" ExpiresByType image/png "access plus 10 days" ExpiresByType application/javascript "access plus 10 days" ExpiresByType application/x-javascript "access plus 10 days" <IfModule mod_deflate.c> SetOutputFilter DEFLATE # Mozilla4系などの古いブラウザで無効、MSIE は除外 BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch MSI[E] !no-gzip !gzip-only-text/html AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/atom_xml AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-httpd-php </IfModule> RewriteEngine on RewriteCond %{THE_REQUEST} ^.*/index.html RewriteRule ^(.*)index.html$ https://tsubaki-home.com/$1 [R=301,L] RewriteEngine on RewriteCond %{THE_REQUEST} ^.*/index.php RewriteRule ^(.*)index.php$ https://tsubaki-home.com/$1 [R=301,L]