ホームページへのアクセスには、アクセスしたパソコンのブラウザやOSの情報が含まれています。この情報をユーザーエージェント(User-Agent)と言います。 ユーザエージェントとは? htaccessでユーザーエージェントの判定することで、特定のブラウザやOS、モバイル(スマートフォンや携帯電話、タブレットなど)からのみアクセスをリダイレクトすることができます。 ただし、ユーザーエージェントは偽装も可能なため必ず正しい情報とは限りません。
ホームページへのアクセスには、アクセスしたパソコンのブラウザやOSの情報が含まれています。この情報をユーザーエージェント(User-Agent)と言います。 ユーザエージェントとは? htaccessでユーザーエージェントの判定することで、特定のブラウザやOS、モバイル(スマートフォンや携帯電話、タブレットなど)からのみアクセスをリダイレクトすることができます。 ただし、ユーザーエージェントは偽装も可能なため必ず正しい情報とは限りません。
# Set enviroment value by user-agent SetEnvIf User-Agent "DoCoMo" UA=mobile SetEnvIf User-Agent "UP\.Brower" UA=mobile SetEnvIf User-Agent "KDDI-" UA=mobile SetEnvIf User-Agent "J-PHONE" UA=mobile SetEnvIf User-Agent "Vodafone" UA=mobile SetEnvIf User-Agent "SoftBank" UA=mobile SetEnvIf User-Agent "emobile" UA=mobile SetEnvIf User-Agent "WILLCOM" UA=mobile SetEnvIf User-Agent "DDIPOCKET" UA=mobile
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く