webなネタ
ありがちなhtaccess
2021/07/09 14:54
DirectoryIndex index.html index.shtml index.cgi
Options +ExecCGI +Includes +FollowSymLinks
AddType application/x-httpd-cgi .cgi
AddType text/html shtml
AddHandler server-parsed shtml
AddType "text/html; charset=UTF8" .html
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
AddDefaultCharset Off
■ コメント