aタグ内aタグをクリックした時のリファラとアクセスログ
hogehoge.com/start.html <html><head></head><body><a href="proxy.html"><a href="referer.cgi">AAAAAA</a></a></body></html> hogehoge.com/proxy.html <html><head></head><body>test</body></html> hogehoge.com/referer.cgi #!/usr/bin/perl print "Content-type: text/html\n"; print "\n"; print "$ENV{'HTTP_REFERER'}"; start.htmlから「AAAAAA」をクリックしてreferer.cgiに飛んでみる。 referer.cgiのブラウザ表示 http://hogehoge.com/start.html httpのヘッダたち Request URL:http://hogehoge.com/referer.cgi Request Method:GET Status Code:200 OK ▼Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset:Shift_JIS,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:ja,en-US;q=0.8,en;q=0.6 Connection:keep-alive Cookie:●●● Host:hogehoge.com Referer:http://hogehoge.com/start.html User-Agent:Mozilla/5.0 (Windows NT 6.0) Ap