URL を転送してリンク元 URL を分からなくする方法 2008-11-27-1 [Tips][Programming] URL を転送してリファラーを分からなくする方法について。 (1) CGI でリダイレクトする方法。 perl の例。 r.cgi : #!/usr/bin/perl print "Content-type: text/html\nRefresh: 0; URL=" .substr($ENV{PATH_INFO}.(($q=$ENV{QUERY_STRING})?"?$q":""),1)."\n\n"; (サンプルなので、use strict とかそういうのはとりあえずなしで。) http://example.com/r.cgi/http://blog.example.com/?d=080101 ↓ http://blog.example.com/?d=080101