<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ma2</author_name>
  <author_url>https://blog.hatena.ne.jp/ma2/</author_url>
  <blog_title>ma2’s diary</blog_title>
  <blog_url>https://ma2.hatenadiary.com/</blog_url>
  <categories>
    <anon>web</anon>
  </categories>
  <description>Apacheを自分のWindows PCに入れている。開発用のサーバはFreeBSDで，こっちもApache。 ところがcgiを書くときに， #! /usr/local/bin/ruby なんて行を書くため，同じスクリプトをPCと開発用サーバで使い回せない。ちなみにWindowsで動かすにはこんな感じ。 #! c:/dev/ruby/bin/ruby.exe なんとかして，スクリプトを書き換えないでですませられないだろうか。同じことに悩んでいる人はたくさんいるとともったのだけど，ググってもうまく見つからない。一時はAN HTTPDを使っていた。こいつは「#!を見ない」という設定ができるので（ス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fma2.hatenadiary.com%2Fentry%2F20051128%2Fp1&quot; title=&quot; WindowsとFreeBSDのApacheで動くcgiの書き方？ - ma2’s diary&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-11-28 00:00:00</published>
  <title> WindowsとFreeBSDのApacheで動くcgiの書き方？</title>
  <type>rich</type>
  <url>https://ma2.hatenadiary.com/entry/20051128/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
