<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>grainrigi</author_name>
  <author_url>https://blog.hatena.ne.jp/grainrigi/</author_url>
  <blog_title>グレインの備忘録</blog_title>
  <blog_url>https://grainrigi.hatenablog.com/</blog_url>
  <categories>
    <anon>httpd,CGI</anon>
  </categories>
  <description>「End of script output before headers」のエラーに遭遇したときの対処法。 ヘッダの出力 まずはエラーメッセージの内容をそのまま受け止める。 #!/usr/bin/python print &quot;Content-Type: text/html\n\n&quot; print &quot;test&quot; Content-Typeのヘッダーは必須。 suexecの実行設定 suexecを使っている場合は、/var/log/secureをチェックしてエラーが出てないか確認する。 パーミッション 実行ディレクトリのパーミッションは755じゃないとだめっぽい。 $ chmod 755 /var/ww…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgrainrigi.hatenablog.com%2Fentry%2F2018%2F06%2F17%2F231528&quot; title=&quot;CGIが動かないときにチェックしてほしいこと - グレインの備忘録&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>2018-06-17 23:15:28</published>
  <title>CGIが動かないときにチェックしてほしいこと</title>
  <type>rich</type>
  <url>https://grainrigi.hatenablog.com/entry/2018/06/17/231528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
