htaccess
httpをhttpsにする
xrea RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
starfreeとxfree(SIN) RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
SetEnvIf Request_URI ".*" Ngx_Cache_NoCacheMode=off
SetEnvIf Request_URI ".*" Ngx_Cache_StaticMode
htaccess.txtで作成して
ffftpでアップロードした後、サーバー側で
「.htaccess」にリネームする
サーバー側での記述変更は不可能。保存できない。リネームのみ可能。
コマンドラインの無効化
(例)# を挿入する # RewriteEngine On
|