<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanigon</author_name>
  <author_url>https://blog.hatena.ne.jp/tanigon/</author_url>
  <blog_title>tanigonの日記</blog_title>
  <blog_url>https://tanigon.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Tomcat</anon>
  </categories>
  <description>以下は apache1.3系、mod_jk2、Tomcat4.1.31での話。 getRequestURL()とかを呼ぶと ｈttp://hoge.somehost.dn.jxx/context/hoge.jsp とか帰ってくるけど、このホスト名の生成に関しては GET /context/hoge.jsp HTTP/1.1 Host: hoge.somehost.dn.jxx というようなリクエストであれば、Hostの内容を直接返してきている。VirtualHost使わない場合は好きな文字列になってしまうわけだ。 まあ、 GET /context/hoge.jsp HTTP/1.1 Host:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanigon.hatenadiary.org%2Fentry%2F20050607%2Fp2&quot; title=&quot; request#getRequestURL()とかgetServerName()とか - tanigonの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-06-07 00:00:01</published>
  <title> request#getRequestURL()とかgetServerName()とか</title>
  <type>rich</type>
  <url>https://tanigon.hatenadiary.org/entry/20050607/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
