自宅サーバー外部委託
httpサーバーの宿命か毎日アタックを受ける。たぶん大丈夫だろうけど、何か起こるといやなので、コンテンツを外部サーバーに移した。
http.confにはURLを書き換えるよう記述した。以下の例では3つのサーバーに振り分けている。
RewriteEngine On RewriteRule ^/index.html http://hireido.dyndns.org/index.html [R=301,L] RewriteRule ^/passwiki/(.)$ http://happytiger.99k.org/passwiki1/$1 [R=301,L] RewriteRule ^/(.)$ http://happytiger.digi2.jp/ $1 [R=301,L]