<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>SHOWJIN*BLOG &#187; Xampp</title>
	<atom:link href="http://showzine.info/blog/category/xampp/feed" rel="self" type="application/rss+xml" />
	<link>http://showzine.info/blog</link>
	<description>PHPとかLinuxとかMySQLとかの勉強メモ</description>
	<lastBuildDate>Wed, 28 Jul 2010 10:10:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/category/xampp/feed" />
		<item>
		<title>xampp for macosxのインストールと設定その4</title>
		<link>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae4/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae4/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:47:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1301</guid>
		<description><![CDATA[xamppはCodeIgniterの実践に活用することに決めた。
ので、あらためて環境の確認。
自分の現在の環境で使う上でのメモ。
普段使っているApacheを停止
自動起動になっている/opt/local/以下のApache2を停止。
$ sudo /opt/local/apache2/bin/apachectl stop
XAMPPを起動・停止
$ sudo /Applications/XAMPP/xamppfiles/mampp start
$ sudo /Applications/XAMPP/xamppfiles/mampp stop
セキュリティ
作業ディレクトリにアクセスするには、設定済みのユーザ名とパスワードが必要。
・ユーザ名はxampp
・パスワードは例のやつの数字なし
ルートディレクトリ
http://localhost
を叩くと
http://localhost/xampp/index.php
にリダイレクトされる。
作業ディレクトリへのアクセス
/Applications/xampp/xamppfiles/htdocs/
以下に配置する。
例えば、testというディレクトリを作って
このディレクトリ内のファイルにアクセスするなら
/Applications/xampp/xamppfiles/htdocs/test/phpinfo.php
として、
http://localhost/test/phpinfo.php
]]></description>
			<content:encoded><![CDATA[<p>xamppはCodeIgniterの実践に活用することに決めた。<br />
ので、あらためて環境の確認。</p>
<p>自分の現在の環境で使う上でのメモ。</p>
<h3>普段使っているApacheを停止</h3>
<p>自動起動になっている/opt/local/以下のApache2を停止。</p>
<blockquote><p>$ sudo /opt/local/apache2/bin/apachectl stop</p></blockquote>
<h3>XAMPPを起動・停止</h3>
<blockquote><p>$ sudo /Applications/XAMPP/xamppfiles/mampp start<br />
$ sudo /Applications/XAMPP/xamppfiles/mampp stop</p></blockquote>
<h3>セキュリティ</h3>
<p>作業ディレクトリにアクセスするには、設定済みのユーザ名とパスワードが必要。<br />
・ユーザ名はxampp<br />
・パスワードは例のやつの数字なし</p>
<h3>ルートディレクトリ</h3>
<p>http://localhost</p>
<p>を叩くと</p>
<p>http://localhost/xampp/index.php</p>
<p>にリダイレクトされる。</p>
<h3>作業ディレクトリへのアクセス</h3>
<p>/Applications/xampp/xamppfiles/htdocs/<br />
以下に配置する。</p>
<p>例えば、testというディレクトリを作って<br />
このディレクトリ内のファイルにアクセスするなら<br />
/Applications/xampp/xamppfiles/htdocs/test/phpinfo.php<br />
として、</p>
<p>http://localhost/test/phpinfo.php</p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae4/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae4/ " />
	</item>
		<item>
		<title>xampp for macosxのインストールと設定その3</title>
		<link>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae3/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae3/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:45:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1294</guid>
		<description><![CDATA[phpMyAdminへのアクセスがdenied状態だったので修正。
デフォだとrootユーザに対しての設定になっていたので、
これを、先日設定し直したユーザxamppに変更。変更したファイルは
/Applications/xampp/xamppfiles/phpmyadmin/config.inc.php
このファイルの中の
$cfg['Servers'][$i]['user'] = &#8216;root&#8217;;
のroot部分をxamppに変更。
>> xampp for macosx
]]></description>
			<content:encoded><![CDATA[<p>phpMyAdminへのアクセスがdenied状態だったので修正。<br />
デフォだとrootユーザに対しての設定になっていたので、<br />
これを、先日設定し直したユーザxamppに変更。変更したファイルは<br />
/Applications/xampp/xamppfiles/phpmyadmin/config.inc.php</p>
<p>このファイルの中の<br />
$cfg['Servers'][$i]['user'] = &#8216;root&#8217;;<br />
のroot部分をxamppに変更。</p>
<p>>> <a href="http://www.apachefriends.org/jp/xampp-macosx.html">xampp for macosx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae3/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae3/ " />
	</item>
		<item>
		<title>xampp for macosxのインストールと設定その2</title>
		<link>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%92/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%92/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:41:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1291</guid>
		<description><![CDATA[次のコマンドをシェルから実行
$ sudo /Applications/xampp/xamppfiles/mampp security
Password:
XAMPP: Quick security check&#8230;
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use &#8216;xampp&#8217; as user name!
あなたのxamppページはパスワードかかってませんよ、と。
パスワード設定しますか？と。
はい、でパスワード入力。
確認のためもう一度入力。
パスワードによるプロテクトがかかりました。
ユーザ名は「xampp」を利用して下さい、と。
これでxamppディレクトリへのアクセスはオーケー。
続いてMySQLにおけるセキュリティ
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that&#8217;s not recommended. Do you want me to turn it off? [yes] [...]]]></description>
			<content:encoded><![CDATA[<p>次のコマンドをシェルから実行</p>
<blockquote><p>$ sudo /Applications/xampp/xamppfiles/mampp security<br />
Password:<br />
XAMPP: Quick security check&#8230;<br />
XAMPP: Your XAMPP pages are NOT secured by a password.<br />
XAMPP: Do you want to set a password? [yes] yes<br />
XAMPP: Password:<br />
XAMPP: Password (again):<br />
XAMPP: Password protection active. Please use &#8216;xampp&#8217; as user name!</p></blockquote>
<p>あなたのxamppページはパスワードかかってませんよ、と。<br />
パスワード設定しますか？と。<br />
はい、でパスワード入力。<br />
確認のためもう一度入力。<br />
パスワードによるプロテクトがかかりました。<br />
ユーザ名は「xampp」を利用して下さい、と。</p>
<p>これでxamppディレクトリへのアクセスはオーケー。</p>
<p>続いてMySQLにおけるセキュリティ</p>
<blockquote><p>XAMPP: MySQL is accessable via network.<br />
XAMPP: Normaly that&#8217;s not recommended. Do you want me to turn it off? [yes] yes<br />
XAMPP: Turned off.<br />
XAMPP: Stopping MySQL&#8230;<br />
XAMPP: Starting MySQL&#8230;<br />
XAMPP: MySQL has no root passwort set!!!<br />
XAMPP: Do you want to set a password? [yes] yes<br />
XAMPP: Write the password somewhere down to make sure you won&#8217;t forget it!!!<br />
XAMPP: Password:<br />
XAMPP: Password (again):</p></blockquote>
<p>MySQLはネットワーク経由でアクセス可能ですよ、と。<br />
ふつうこれはおすすめできませんよ、と。<br />
あなた、わたし（xampp）にそれをオフ（解消ってことか？）して欲しいですか？と。<br />
解消して欲しいので「yes」を入力。<br />
xamppはMySQLを停止させて、また起動させる。<br />
MySQL にルートのパスワードが設定されてませんよ、と。（passwortになってるけど）<br />
あなた、パスワード設定したいですか？と。<br />
設定したいので「yes」を入力。<br />
そのパスワードをどっかに書き留めておいて忘れないようにね！と。<br />
設定したいパスワードを入力。<br />
確認のための再度の入力。</p>
<blockquote><p>XAMPP: Setting new MySQL root password.<br />
XAMPP: Setting phpMyAdmin&#8217;s root password to the new one.<br />
XAMPP: phpMyAdmin already set right!<br />
XAMPP: ProFTPD has a new FTP password. Great!<br />
XAMPP: Do you want to change the password anyway? [no] no<br />
XAMPP: Done.</p></blockquote>
<p>ルートパスワードは新しく設定されたよ、と。<br />
phpMyAdminのルートパスワードも、その新しいやつ（パスワード）ね、と。<br />
（だから）<br />
phpMyAdminもすでに設定オーケー、いいよ！と。<br />
ProFTPDもおんなしパスワードで設定になったってこと？ここよくわかんないんだけど。でも、Greatって言ってるしな。<br />
そのパスワード（ProFTPD）変えたいですか？と。<br />
いや、別にそのままでいいから「no」を入力。<br />
やったよ、と。</p>
<p>ここでxamppの画面（http:localhost）からセキュリティをクリックして見てみると、さっきまでセキュアじゃないと表示されていた各項目（xampp pages, MySQL, phpMyAdmin, MySQL root, FTPパスワード）が全てオールグリーンになっていた。</p>
<p>これで一応準備は出来たんじゃないかなと思う。たぶん。</p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%92/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%92/ " />
	</item>
		<item>
		<title>xampp for macosxのインストールと設定その1</title>
		<link>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%91/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%91/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 04:39:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1288</guid>
		<description><![CDATA[XAMPP Mac OS X 0.7.4 をDL。
ダブルクリックでインストール。
（/Applications/xampp）
terminalでshellから以下をsudoで実行してxamppを起動。
/Applications/xampp/xamppfiles/mampp start
（Mac版なのでxamppではなくmamppになっている）
Starting XAMPP for MacOS X 0.7.4&#8230;
XAMPP: Starting Apache with SSL (and PHP5)&#8230;
XAMPP: Starting MySQL&#8230;
XAMPP: Starting ProFTPD&#8230;
XAMPP for MacOS X started.
ApacheとphpとperlとCGIとSSIが稼働している。
※MySQLはエラーが出ていて稼働していない。（既存のMySQLとあたってる？）
#2002 &#8211; サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)
いまのところこの環境でMySQLは使わないからいいや。
ブラウザでアクセスして正常にインストールできたか確認。
http://localhost/
xamppの画面ではなくてApache2のIt wokrsが表示される。/opt/local 以下に作ってる環境内のApache2が自動起動になっているから、そっちに「ポート」が使われているせいらしい。
$ sudo /opt/local/apache2/bin/apachectl stop
停止して再度 localhost へアクセス。今度は xampp の画面が出た。
http://localhost/xampp/index.php
xamppの停止：/Applications/XAMPP/xamppfiles/mampp stop
アンインストール：$ sudo rm -rf /Applications/xampp
とりあえずここまで。あとでセキュリティのところ設定しておくこと。
]]></description>
			<content:encoded><![CDATA[<p>XAMPP Mac OS X 0.7.4 をDL。<br />
ダブルクリックでインストール。<br />
（/Applications/xampp）</p>
<p>terminalでshellから以下をsudoで実行してxamppを起動。</p>
<p>/Applications/xampp/xamppfiles/mampp start<br />
（Mac版なのでxamppではなくmamppになっている）</p>
<blockquote><p>Starting XAMPP for MacOS X 0.7.4&#8230;<br />
XAMPP: Starting Apache with SSL (and PHP5)&#8230;<br />
XAMPP: Starting MySQL&#8230;<br />
XAMPP: Starting ProFTPD&#8230;<br />
XAMPP for MacOS X started.</p></blockquote>
<p>ApacheとphpとperlとCGIとSSIが稼働している。<br />
※MySQLはエラーが出ていて稼働していない。（既存のMySQLとあたってる？）<br />
#2002 &#8211; サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)</p>
<p>いまのところこの環境でMySQLは使わないからいいや。</p>
<p>ブラウザでアクセスして正常にインストールできたか確認。</p>
<p>http://localhost/</p>
<p>xamppの画面ではなくてApache2のIt wokrsが表示される。/opt/local 以下に作ってる環境内のApache2が自動起動になっているから、そっちに「ポート」が使われているせいらしい。</p>
<blockquote><p>$ sudo /opt/local/apache2/bin/apachectl stop</p></blockquote>
<p>停止して再度 localhost へアクセス。今度は xampp の画面が出た。</p>
<p>http://localhost/xampp/index.php</p>
<p><strong>xamppの停止：/Applications/XAMPP/xamppfiles/mampp stop<br />
アンインストール：$ sudo rm -rf /Applications/xampp</strong></p>
<p>とりあえずここまで。あとでセキュリティのところ設定しておくこと。</p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%91/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp-for-macosx%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e8%a8%ad%e5%ae%9a%e3%81%9d%e3%81%ae%ef%bc%91/ " />
	</item>
		<item>
		<title>xamppでmod_rewriteを使う</title>
		<link>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%82%92%e4%bd%bf%e3%81%86/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%82%92%e4%bd%bf%e3%81%86/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 03:55:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1285</guid>
		<description><![CDATA[apacheのモジュールである「mod_rewrite」を利用可能にする。
phpinfo()で確認して、Loaded Modulesでmod_rewriteがあれば有効になっている。
なっていない場合、以下を確認。
httpd.confで
LoadModule rewrite_module modules/mod_rewrite.so
の部分の文頭に#が入ってないか。（入ってたら削除する）
mod_rewriteが有効になっていても500エラーが出たりしたら
httpd.confの227行目あたりにある「AllowOverride」という部分を確認。
これが「AuthConfig」になっていたら「All」に変更。
apacheを再起動。
]]></description>
			<content:encoded><![CDATA[<p>apacheのモジュールである「mod_rewrite」を利用可能にする。</p>
<p>phpinfo()で確認して、Loaded Modulesでmod_rewriteがあれば有効になっている。</p>
<p>なっていない場合、以下を確認。</p>
<p>httpd.confで<br />
LoadModule rewrite_module modules/mod_rewrite.so<br />
の部分の文頭に#が入ってないか。（入ってたら削除する）</p>
<p>mod_rewriteが有効になっていても500エラーが出たりしたら<br />
httpd.confの227行目あたりにある「AllowOverride」という部分を確認。</p>
<p>これが「AuthConfig」になっていたら「All」に変更。</p>
<p>apacheを再起動。</p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%82%92%e4%bd%bf%e3%81%86/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%82%92%e4%bd%bf%e3%81%86/ " />
	</item>
		<item>
		<title>xamppでmod_rewriteしたいのに500エラー</title>
		<link>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab500%e3%82%a8%e3%83%a9%e3%83%bc/ </link>
		<comments>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab500%e3%82%a8%e3%83%a9%e3%83%bc/ #comments</comments>
		<pubDate>Wed, 29 Apr 2009 03:42:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xampp]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://showzine.info/blog/?p=1264</guid>
		<description><![CDATA[インストールしたCodeIgniterの作業ディレクトリに配置した .htaccessファイルのせいで500エラー。はまりまくったので解決までをメモ。
.htaccessを置く
/Applications/xampp/htdocs/CodeIgniterに .htaccessを置く。が、500エラーに。（削除するとWelcome画面が表示される）
.htaccessの内容は以下の通り。

RewriteEngine on RewriteCond $1 !^(index\.php&#124;css&#124;user_guide&#124;.+\.gif$&#124;.+\.jpg$&#124;.+\.png$&#124;.+\.js$) RewriteRule ^(.*)$ /CodeIgniter/index.php/$1 [L]

.htaccessを有効にする
（apacheの設定ファイルを編集）
.htaccessを使える状態じゃないのかと思って設定ファイルを確認。
xampp/etc/httpd.conf中のAlloOverrideをnoneからAllに変更。

&#60;directory /&#62;
Options FollowSymLinks AllowOverride All Order deny,allow Deny from all
&#60;/directory&#62;

こうしても500エラーは変わらず。
Apacheのエラーログ
/Applications/xampp/logs/erro_log これを開くと

[Wed Apr 29 11:01:27 2009] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/CodeIgniter/.htaccess: RewriteEngine not allowed here

RewriteEngine not allowed here これくさい。
RewtireEngineが無効ってこと？
phpinfoで確認するとLoaded Modulesではmod_rewriteがあるんだけどな。
再度apacheの設定ファイルを編集（httpd.conf）
Options FollowSymLinksをOptions Allに変更。

&#60;directory /&#62;
Options All AllowOverride All Order deny,allow Deny from all
&#60;/directory&#62;

これでも駄目。LoadModule rewrite_module modules/mod_rewrite.so ってなってて、モジュール自体は読み込まれているはずなのに。
再度apacheの設定ファイルを編集
227行目にあった AllowOverride AuthConfigという記述を AllowOverride [...]]]></description>
			<content:encoded><![CDATA[<p>インストールしたCodeIgniterの作業ディレクトリに配置した .htaccessファイルのせいで500エラー。はまりまくったので解決までをメモ。</p>
<h3>.htaccessを置く</h3>
<p>/Applications/xampp/htdocs/CodeIgniterに .htaccessを置く。が、500エラーに。（削除するとWelcome画面が表示される）</p>
<p>.htaccessの内容は以下の通り。</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span> <span style="color: #00007f;">RewriteCond</span> $<span style="color: #ff0000;">1</span> !^(index\.php|css|user_guide|.+\.gif$|.+\.jpg$|.+\.png$|.+\.js$) <span style="color: #00007f;">RewriteRule</span> ^(.*)$ /CodeIgniter/index.php/$<span style="color: #ff0000;">1</span> [L]</pre></div></div>

<h3>.htaccessを有効にする<br />
（apacheの設定ファイルを編集）</h3>
<p>.htaccessを使える状態じゃないのかと思って設定ファイルを確認。</p>
<p>xampp/etc/httpd.conf中のAlloOverrideをnoneからAllに変更。</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;<span style="color: #000000; font-weight:bold;">directory</span> /&gt;
<span style="color: #00007f;">Options</span> <span style="color: #0000ff;">FollowSymLinks</span> <span style="color: #00007f;">AllowOverride</span> <span style="color: #00007f;">All</span> <span style="color: #00007f;">Order</span> <span style="color: #00007f;">deny</span>,<span style="color: #00007f;">allow</span> <span style="color: #00007f;">Deny</span> <span style="color: #00007f;">from</span> <span style="color: #00007f;">all</span>
&lt;/<span style="color: #000000; font-weight:bold;">directory</span>&gt;</pre></div></div>

<p>こうしても500エラーは変わらず。</p>
<h3>Apacheのエラーログ</h3>
<p>/Applications/xampp/logs/erro_log これを開くと</p>
<blockquote><p>
[Wed Apr 29 11:01:27 2009] [alert] [client ::1] /Applications/xampp/xamppfiles/htdocs/CodeIgniter/.htaccess: RewriteEngine not allowed here
</p></blockquote>
<p>RewriteEngine not allowed here これくさい。<br />
RewtireEngineが無効ってこと？</p>
<p>phpinfoで確認するとLoaded Modulesではmod_rewriteがあるんだけどな。</p>
<h3>再度apacheの設定ファイルを編集（httpd.conf）</h3>
<p>Options FollowSymLinksをOptions Allに変更。</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;<span style="color: #000000; font-weight:bold;">directory</span> /&gt;
<span style="color: #00007f;">Options</span> <span style="color: #00007f;">All</span> <span style="color: #00007f;">AllowOverride</span> <span style="color: #00007f;">All</span> <span style="color: #00007f;">Order</span> <span style="color: #00007f;">deny</span>,<span style="color: #00007f;">allow</span> <span style="color: #00007f;">Deny</span> <span style="color: #00007f;">from</span> <span style="color: #00007f;">all</span>
&lt;/<span style="color: #000000; font-weight:bold;">directory</span>&gt;</pre></div></div>

<p>これでも駄目。LoadModule rewrite_module modules/mod_rewrite.so ってなってて、モジュール自体は読み込まれているはずなのに。</p>
<h3>再度apacheの設定ファイルを編集</h3>
<p>227行目にあった AllowOverride AuthConfigという記述を AllowOverride Allに変更。</p>
<p>apacheを再起動（$ sudo /Applications/XAMPP/xamppfiles/mampp start）</p>
<p>やっと表示されるようになった。</p>
<p>http://localhost/CodeIgniter/ にアクセスすると、system/application/views/welcome_message.phpが表示される状態。</p>
<p>最後はこのWordPressのフォーラム記事が参考になった。（ありがとうございました） <a href="http://ja.forums.wordpress.org/topic/1215">http://ja.forums.wordpress.org/topic/1215</a></p>
]]></content:encoded>
			<wfw:commentRss>http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab500%e3%82%a8%e3%83%a9%e3%83%bc/ /feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://showzine.info/blog/xampp/page/xampp%e3%81%a7mod_rewrite%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab500%e3%82%a8%e3%83%a9%e3%83%bc/ " />
	</item>
	</channel>
</rss>
