<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sooey &#187; apache</title>
	<atom:link href="http://old-journal.sooey.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://old-journal.sooey.com</link>
	<description></description>
	<lastBuildDate>Fri, 04 Dec 2009 08:44:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MacPortsと格闘</title>
		<link>http://old-journal.sooey.com/2008/01/07/696/</link>
		<comments>http://old-journal.sooey.com/2008/01/07/696/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 15:50:38 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macports]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2008/01/07/696/</guid>
		<description><![CDATA[Leopardでapache2のビルドにコケる問題がなかなか修正されないので、パッチを作りました。portsの仕組みをあまり理解していないので最適な対策にはなっていない気がしますが、これをもとに早いところチケットがクローズされればいいなあ。

作業にあたっては以下のページにお世話になりました。

autoconf / automake を使ってみよう！
DarwinPortsGuide/Chap03Sec05 &#8211; MacPortsWiki-JP
航海日誌: glib2 2.14.2をインストールする方法
]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.macosforge.org/projects/macports/ticket/13653">Leopardでapache2のビルドにコケる問題</a>がなかなか修正されないので、パッチを作りました。portsの仕組みをあまり理解していないので最適な対策にはなっていない気がしますが、これをもとに早いところチケットがクローズされればいいなあ。</p>

<p>作業にあたっては以下のページにお世話になりました。</p>

<ul>
<li><a href="http://shimaki-hp.hp.infoseek.co.jp/autoconf/">autoconf / automake を使ってみよう！</a></li>
<li><a href="http://lapangan.net/darwinports/index.php?DarwinPortsGuide%2FChap03Sec05">DarwinPortsGuide/Chap03Sec05 &#8211; MacPortsWiki-JP</a></li>
<li><a href="http://starfleet.txt-nifty.com/blog/2007/12/glib2_2142_0230.html">航海日誌: glib2 2.14.2をインストールする方法</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2008/01/07/696/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache 1.3モジュールの開発</title>
		<link>http://old-journal.sooey.com/2003/12/17/170/</link>
		<comments>http://old-journal.sooey.com/2003/12/17/170/#comments</comments>
		<pubDate>Wed, 17 Dec 2003 09:34:05 +0000</pubDate>
		<dc:creator>juno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.sooey.com/journal/2003/12/17/170/</guid>
		<description><![CDATA[以前購入したApacheモジュール プログラミングガイドを活用する日がやって来ました。C言語の初心者でも比較的取っ付きやすく書かれています。Apacheのモジュールは、あらかじめ提供されているap_*系の関数を使えばかなり安全なコードが書けるんですね。

さて、まともにCを使ってコードを書くのはこれが初めてですが、普段JavaやRubyで可変長のリストに頼りまくっているため、単純な配列のみであれこれやろうとするとすぐにハマります。Apacheが提供するtableやarray_headerはなかなか便利なんですが、メンバがchar *に限られるようで、「構造体を格納できるハッシュはどこかに無いんかー」と叫びたくなってきます。まあ、それでもなんとか三日ほどで動くモジュールが作れましたので（User-Agentの内容に応じてレスポンスヘッダを加工する程度のもの）、Apacheモジュール プログラミングガイドはいい本です。

それにしても、Apacheモジュールの処理性能はさすがですね。効率度外視で書いたのにオーバーヘッドをまったく感じさせない。
]]></description>
			<content:encoded><![CDATA[<p>以前購入した<a href="http://www.amazon.co.jp/exec/obidos/ASIN/4774117994/bmedianode-22">Apacheモジュール プログラミングガイド</a>を活用する日がやって来ました。C言語の初心者でも比較的取っ付きやすく書かれています。Apacheのモジュールは、あらかじめ提供されているap_*系の関数を使えばかなり安全なコードが書けるんですね。</p>

<p>さて、まともにCを使ってコードを書くのはこれが初めてですが、普段JavaやRubyで可変長のリストに頼りまくっているため、単純な配列のみであれこれやろうとするとすぐにハマります。Apacheが提供するtableやarray_headerはなかなか便利なんですが、メンバがchar *に限られるようで、「構造体を格納できるハッシュはどこかに無いんかー」と叫びたくなってきます。まあ、それでもなんとか三日ほどで動くモジュールが作れましたので（User-Agentの内容に応じてレスポンスヘッダを加工する程度のもの）、Apacheモジュール プログラミングガイドはいい本です。</p>

<p>それにしても、Apacheモジュールの処理性能はさすがですね。効率度外視で書いたのにオーバーヘッドをまったく感じさせない。</p>
]]></content:encoded>
			<wfw:commentRss>http://old-journal.sooey.com/2003/12/17/170/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
