plugins:gwt-htaccess

Google携帯プロキシ(Google Mobile Proxy)を利用して手軽にサイトを携帯対応に

http://japan.nucleuscms.org/bb/viewtopic.php?t=3639

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^DoCoMo.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^KDDI.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Vodafone.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^SoftBank.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^J-PHONE.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+DDIPOCKET.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.+WILLCOM.*
RewriteRule ^$ http://www.google.com/gwt/n?u=http://www.-----.com [R,L]
 
plugins/gwt-htaccess.txt · 最終更新: 2011/03/23 21:28 (外部編集)