<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hagex</author_name>
  <author_url>https://blog.hatena.ne.jp/hagex/</author_url>
  <blog_title>Hagex-day info</blog_title>
  <blog_url>https://hagex.hatenadiary.jp/</blog_url>
  <categories>
    <anon>UNIX</anon>
  </categories>
  <description>HTMLファイルはきちんとみれるけど、CGIがきちんと動かない。当該のファイルを開くと「500エラー」。エラーログを見ると「Premature end of script headers」の文字が。 調べてみると #! /usr/bin/perl -- と一行目の後ろにハイフンをつけたり、 print&quot;Content-type: text/html; charset=Shift_JIS\n\n&quot;; と二行目に書いたりしたらいいらしいが、やっても駄目。設定ファイルもパーミッションも設定もばっちり！ うーん、いったい何が原因なのか… なにげに「public_html」のフォルダをls -alでみて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhagex.hatenadiary.jp%2Fentry%2F20041019%2Fp1&quot; title=&quot; CGIがうまく走らない - Hagex-day info&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>2004-10-19 00:00:01</published>
  <title> CGIがうまく走らない</title>
  <type>rich</type>
  <url>https://hagex.hatenadiary.jp/entry/20041019/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
