移転しました http://please-sleep.cou929.nu/20130121.html
移転しました http://please-sleep.cou929.nu/20130121.html
ドメインの正規化 wwwあり・なしをどちらか片方に寄せたい場合。 今回はwww.example.comなど、example.com以外でアクセスされたらexample.comにリダイレクトする設定。 <VirtualHost *:80> # (1) ServerName example.com ServerAlias www.example.com RewriteEngine On # (2) RewriteCond %{HTTP_HOST} !^example\.com # (3) RewriteRule .* http://example.com$0 [QSA,NE,R=301,L] </VirtualHost> (1)で、どちらのホスト名でもVirtualHostが動くようにする。 (2)は正規表現の末尾に$を付けないようにする。Hostリクエストヘッダは Host = "Host"
This is a guest post by Jacob Gillespie who started an interesting thread on Forrst about this topic. I invited him to post it here, to which he graciously accepted. Over the past several years, I have taken an interest in usability and web design. One of the areas that seems to be often overlooked when it comes to design of a site is the design of the URIs on that site. Modern CMS systems allow f
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く