åãã³ã³ãã³ããæãè¤æ°ã®URLãã¯ãã¼ã©ã¼ãæ¥ãã¨ãã ãä¸ã¤ã«ã¾ã¨ãã 2007-06-02-1 [Programming] amazon ããã£ã¦ãã¿ããã«ãåãã³ã³ãã³ããæãè¤æ°ã®URLããã¯ãã¼ã©ã¼ãæ¥ãã¨ãã ãæ£è¦åããä¸ã¤ã®URLã«ãªãã¤ã¬ã¯ãããããã ããã§ã.htaccessãã«ä»¥ä¸ã®ããã«è¨è¿°ããã RedirectMatch ^/bot/([0-9A-Z]{10})/ http://example.com/asin/$1/ RewriteEngine On RewriteRule ^asin/([0-9A-Z]{10})/$ go.cgi?asin=$1 [L] RewriteCond %{HTTP_USER_AGENT} bot|ahoo|craw|spid [NC] RewriteRule ^asin/([0-9A-Z]{10})/(.+-22)/$ bot/$
{{#tags}}- {{label}}
{{/tags}}