<?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>ウェブル &#187; Apache</title>
	<atom:link href="http://kezy.org/category/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://kezy.org</link>
	<description>なかなか就職できない PHP + MySQL 時々 Javascript を弄る20才</description>
	<lastBuildDate>Tue, 27 Jul 2010 02:39:42 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/category/apache/feed" />
		<item>
		<title>Mac で Apache を再起動する方法</title>
		<link>http://kezy.org/2010/06/20/mac-apache</link>
		<comments>http://kezy.org/2010/06/20/mac-apache#comments</comments>
		<pubDate>Sun, 20 Jun 2010 08:45:02 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=4142</guid>
		<description><![CDATA[私の知る限り Mac で Apache を再起動する方法は2点あるので自分用にメモ。
apachectl を使った再起動
apachectlを使用してみるを参考にさせていただきました。

1
$ /usr/sbin/ap<p><a href="http://kezy.org/2010/06/20/mac-apache" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>私の知る限り Mac で Apache を再起動する方法は2点あるので自分用にメモ。</p>
<h3>apachectl を使った再起動</h3>
<p><a href="http://www.densan-kikaku.co.jp/~HTanaka/linux/server/apache/apachectl.html">apachectlを使用してみる</a>を参考にさせていただきました。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>apachectl restart</pre></td></tr></table></div>

<h3>Web 共有から再起動</h3>
<p>システム環境設定の共有から Web 共有のチェックを外してから、もう一度チェックをすると再起動されます。こちらの方が良いみたいです。</p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2010/06/20/mac-apache/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2010/06/20/mac-apache" />
	</item>
		<item>
		<title>.htaccess でディレクトリのファイル一覧を非表示にする方法</title>
		<link>http://kezy.org/2009/12/14/directory-file-list</link>
		<comments>http://kezy.org/2009/12/14/directory-file-list#comments</comments>
		<pubDate>Sun, 13 Dec 2009 17:03:34 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[directory]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=3409</guid>
		<description><![CDATA[通常ディレクトリのファイル一覧を非表示にする場合、Apache のを設定してやります。要は httpd.conf を以下のように設定をしますですね。

1
Options Indexes FollowSymLinks

<p><a href="http://kezy.org/2009/12/14/directory-file-list" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>通常ディレクトリのファイル一覧を非表示にする場合、Apache のを設定してやります。要は httpd.conf を以下のように設定をしますですね。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">Options Indexes FollowSymLinks</pre></td></tr></table></div>

<p>と書いてある部分を以下のように設定します。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">Options FollowSymLinks</pre></td></tr></table></div>

<p>.htaccess で指定することもできます。共用サーバーとかだったら弄れないと思うので、そういう時に便利です。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">Options <span style="color: #339933;">-</span>Indexes</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/12/14/directory-file-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/12/14/directory-file-list" />
	</item>
		<item>
		<title>Apache を UTF-8 に設定する方法</title>
		<link>http://kezy.org/2009/07/25/apache-utf-8</link>
		<comments>http://kezy.org/2009/07/25/apache-utf-8#comments</comments>
		<pubDate>Sat, 25 Jul 2009 11:54:23 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=2484</guid>
		<description><![CDATA[Apache を UTF-8 に設定する方法…昔書いたような気もするんですが、なかったのでリンクだけでも。以下を参考に設定させていただきました。
UNICODE（UTF-8)環境の設定
]]></description>
			<content:encoded><![CDATA[<p>Apache を UTF-8 に設定する方法…昔書いたような気もするんですが、なかったのでリンクだけでも。以下を参考に設定させていただきました。<br />
<a href="http://www.yamada-lab.org/doc/win/mysql5/utf8/index.html">UNICODE（UTF-8)環境の設定</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/07/25/apache-utf-8/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/07/25/apache-utf-8" />
	</item>
		<item>
		<title>URL の www 無し有りを mod_rewrite モジュールで統一する</title>
		<link>http://kezy.org/2009/04/26/www-url</link>
		<comments>http://kezy.org/2009/04/26/www-url#comments</comments>
		<pubDate>Sat, 25 Apr 2009 15:55:13 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=1862</guid>
		<description><![CDATA[www 無しの URL と www 有りの URL どちらでも同じコンテンツにアクセスできる状態にあるのは、あまり良いことではありません。例えば Google ページランクが www 無しの URL と www 有りの <p><a href="http://kezy.org/2009/04/26/www-url" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>www 無しの URL と www 有りの URL どちらでも同じコンテンツにアクセスできる状態にあるのは、あまり良いことではありません。例えば Google ページランクが www 無しの URL と www 有りの URL では違うと言った事態が発生します。<br />
このような事態を招かないようにするために、apache の mod_rewrite モジュールを使ってページの URL を統一しましょう。</p>
<h3>www 無しの URL に統一する場合</h3>
<p>www 有りの URL にアクセスされた場合に、www 無しの URL にリダイレクトさせます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">RewriteEngine on
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>HTTP_HOST<span style="color: #009900;">&#125;</span> ^<span style="color: #009900;">&#40;</span>www\<span style="color: #339933;">.</span>c<span style="color: #339933;">-</span><span style="color: #990000;">list</span>\<span style="color: #339933;">.</span>net<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">80</span><span style="color: #009900;">&#41;</span>? <span style="color: #009900;">&#91;</span>NC<span style="color: #009900;">&#93;</span>
RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//c-list.net/$1 [R=301,L]</span></pre></td></tr></table></div>

<h3>www 有りの URL に統一する場合</h3>
<p>www 無しの URL にアクセスされた場合に、www 有りの URL にリダイレクトさせます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">RewriteEngine on
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>HTTP_HOST<span style="color: #009900;">&#125;</span> ^<span style="color: #009900;">&#40;</span>c<span style="color: #339933;">-</span><span style="color: #990000;">list</span>\<span style="color: #339933;">.</span>net<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">80</span><span style="color: #009900;">&#41;</span>? <span style="color: #009900;">&#91;</span>NC<span style="color: #009900;">&#93;</span>
RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//www.c-list.net/$1 [R=301,L]</span></pre></td></tr></table></div>

<p>www 無しが良いのか www 有りのどちらが良いのかという点について、やっぱり Web 2.0 の流れにのって www 無しの方が良いのでしょうか。この件に関して<a href="http://ascii24.com/news/i/topi/article/2006/09/21/664704-000.html">Vistaジュースの缶に書かれた謎のURLを追え！</a>にとても興味深い一文がありました。</p>
<blockquote><p>wwwありのURLは、実在のホスト名を指すが、ドメイン名というのは本来実体のない抽象的な存在だ。だから、wwwなしのドメイン名そのものをアクセス可能なURLとして設定するというのは、従来の設定方法から比べると、ややトリッキーではある。しかし、「もう時代は変わった。こっちのほうが便利だらかいいんじゃん？」というノリで変えてしまうルーズさ、またそれができてしまうという、いい意味での仕様の曖昧さこそ、インターネットの重要な本質ではないだろうか。インターネットが活力を失わずに進化を続けられているのはガチガチに仕様が決まっていないこと。だとしたら、wwwなしがWeb2.0的だ。</p></blockquote>
<p>Web で何かを作っていくということは、頭が柔らかくなくてはいけないということなんですね。仕方無いとか、こうするしかないとか、そういう考え方ではなく、簡単になるんだったらもっと簡単にしていけば良い、わざわざ面倒事をしていく必要がないのが、Web の世界なのだと感じました。いつまで経っても過去に固執し、現在に満足してるような人間じゃダメってことかもですね。<br />
<ins datetime="2009-04-26T07:32:23+00:00">追記(2009/4/26)</ins>:2009 年 4 月 16 日 12:55 amから日付を変更しました。</p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/04/26/www-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/04/26/www-url" />
	</item>
		<item>
		<title>Apache の mod_rewrite モジュールを利用して動的 URL を静的 URL にする</title>
		<link>http://kezy.org/2009/02/08/mod_rewrite</link>
		<comments>http://kezy.org/2009/02/08/mod_rewrite#comments</comments>
		<pubDate>Sun, 08 Feb 2009 11:52:50 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=1379</guid>
		<description><![CDATA[WordPressのパーマリンクにも使われている機能のようで、Apacheのmod_rewriteを利用することで、http://example.com/hoge/page.php?id=10 なんていう動的なURLを、<p><a href="http://kezy.org/2009/02/08/mod_rewrite" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>WordPressのパーマリンクにも使われている機能のようで、Apacheのmod_rewrite</b>を利用することで、http://example.com/hoge/page.php?id=10 なんていう動的なURLを、http://example.com/hoge/page/10 なんていう静的なURLに変更することが可能だそうです。素晴らしい機能です。</p>
<p>詳しくは以下のページに書いてあります。<br />
<a href="http://itpro.nikkeibp.co.jp/article/COLUMN/20070704/276647/">41. mod_rewriteを使いこなそう：ITpro</a></p>
<h3>ファイル演算子</h3>
<p><a href="http://d.hatena.ne.jp/perlcodesample/20080506/1210082563">ファイル演算子「 -d 」で、ディレクトリの存在を確認する。 &#8211; Perl入門?サンプルコードによるPerl入門?</a><br />
<a href="http://d.hatena.ne.jp/perlcodesample/20080505/1209997969">ファイル演算子「 -f 」で、通常ファイルの存在を確認する。  &#8211; Perl入門?サンプルコードによるPerl入門?</a></p>
<h3>mod_rewriteを使う際は404の扱いに注意</h3>
<p><a href="http://yoosee.net/d/archives/2007/04/03/002.html">mod_rewrite を使うときには 404 の扱いに注意 &#8211; World Wide Walker</a><br />
mod_rewriteを使ってるとついついやり過ぎてしまって本来なければいけないものまでを消滅させちゃいます。でもこの記事を読んで気付きました。やり過ぎは良くないってことを。</p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/02/08/mod_rewrite/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/02/08/mod_rewrite" />
	</item>
		<item>
		<title>XAMPPをVISTAにインストールして、ローカル環境で複数のドメインを管理する。</title>
		<link>http://kezy.org/2009/01/07/xampp-vista-domain</link>
		<comments>http://kezy.org/2009/01/07/xampp-vista-domain#comments</comments>
		<pubDate>Wed, 07 Jan 2009 07:44:21 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[localhost]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=771</guid>
		<description><![CDATA[Apacheを普通にインストールしただけでは、http://localhost/ からしかサイトの動作を確認できないので、非常に不便です。
しかし、XAMPPをインストールし設定することで、http://sub.loca<p><a href="http://kezy.org/2009/01/07/xampp-vista-domain" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>Apacheを普通にインストールしただけでは、http://localhost/ からしかサイトの動作を確認できないので、非常に不便です。<br />
しかし、XAMPPをインストールし設定することで、http://sub.localhost/ など複数のドメインを管理することができるので、複数のサイトを制作・管理するのに大変便利です。</p>
<p>忘れないようにするためにメモしておきます。参考になれば幸いです。</p>
<h3>環境</h3>
<ul>
<li>Windows VISTA</li>
<li><a href="http://www.apachefriends.org/jp/xampp-windows.html">XAMPP Windows版 1.7.0</a></li>
</ul>
<h3>インストール</h3>
<p>C:xampp にXAMPPをデフォルトの設定でインストールします。<br />
<a href="http://www.apachefriends.org/jp/xampp-windows.html">XAMPPはこちらから最新版をダウンロードできます。</a><span id="more-771"></span></p>
<h3>httpd-vhosts.confを設定</h3>
<p>C:xampp/apache/conf/extra/httpd-vhosts.conf を開きます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#NameVirtualHost *:80</span></pre></td></tr></table></div>

<p>と書いてある部分のコメントアウト(#)を外します。</p>
<p>そして、j://desktop/website というディレクトリを、http://sub.localhost/ で管理したい場合は、httpd-vhosts.conf に以下のように追加します。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>VirtualHost <span style="color: #339933;">*:</span><span style="color: #cc66cc;">80</span><span style="color: #339933;">&gt;</span>
DocumentRoot C<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//xampp/htdocs</span>
ServerName localhost
<span style="color: #339933;">&lt;/</span>VirtualHost<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>Directory <span style="color: #0000ff;">&quot;C://xampp/htdocs&quot;</span><span style="color: #339933;">&gt;</span>
order deny<span style="color: #339933;">,</span>allow
allow from ALL
<span style="color: #339933;">&lt;/</span>Directory<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>さらにドメインを追加する場合も、同じように追加していきます。</p>
<h3>hostsを設定</h3>
<p>C:WINDOWS/system32/drivers/etc/hosts を開きます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1       localhost</pre></td></tr></table></div>

<p>という部分を次のように書き変えましょう。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1       localhost
127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1       sub<span style="color: #339933;">.</span>localhost</pre></td></tr></table></div>

<h3>Apacheを再起動</h3>
<p>Apacheを再起動します。再起動したら、ブラウザから http://sub.localhost/ にアクセスしてみましょう。</p>
<h3>参考にさせていただいたサイト</h3>
<p><a href="http://likealunatic.jp/2008/05/16_xampp.php">[XAMPP]WinXPローカル環境で複数ドメイン管理 &#8211; Like@Lunatic</a><br />
<a href="http://q.hatena.ne.jp/1210133277">【Apache】複数ドメイン運用の設定方法は？</a><br />
<a href="http://www.nobodyplace.com/mutter/2008/09/27/140957.php">【メモ】 Apache（xampp）で複数ドメインを管理する &#8211; NOBODY:PLACE &#8211; MUTTER</a></p>
<h3><ins datetime="2009-01-13T04:33:59+00:00">メモ書き</ins></h3>
<p>既にApacheをインストールしている場合、XAMPPをインストールして設定しても、設定がうまくいきません。そもそもXAMPPはApacheやMySQL、PHPなどのアプリケーションを1つのパッケージにまとめ、簡単にインスト―ルまたはアンインストールできるようにしたものですから、その辺ごちゃごちゃしないように整理する必要がありそうです。</p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/01/07/xampp-vista-domain/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/01/07/xampp-vista-domain" />
	</item>
		<item>
		<title>Apacheを.htaccessが使えるように設定する。</title>
		<link>http://kezy.org/2009/01/05/apache-htaccess</link>
		<comments>http://kezy.org/2009/01/05/apache-htaccess#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:54:23 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=730</guid>
		<description><![CDATA[httpd.conf の次の記述がある部分を

1
AllowOverride None

次のように書き変えます。

1
AllowOverride All

これで.htaccess が使えるようになります。
]]></description>
			<content:encoded><![CDATA[<p>httpd.conf の次の記述がある部分を</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">AllowOverride None</pre></td></tr></table></div>

<p>次のように書き変えます。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">AllowOverride All</pre></td></tr></table></div>

<p>これで.htaccess が使えるようになります。</p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/01/05/apache-htaccess/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/01/05/apache-htaccess" />
	</item>
		<item>
		<title>Apacheを設定してhtmlをphpとして動かす</title>
		<link>http://kezy.org/2009/01/04/apache-html-php</link>
		<comments>http://kezy.org/2009/01/04/apache-html-php#comments</comments>
		<pubDate>Sun, 04 Jan 2009 10:36:51 +0000</pubDate>
		<dc:creator>Sorai</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[httpd.conf]]></category>

		<guid isPermaLink="false">http://kezy.org/?p=716</guid>
		<description><![CDATA[ローカル環境にPHPとApacheをインストールして作業をしていますが、ローカルでは.htaccessによる設定が反映されないようなので？わざわざApacheに直接設定することにしました。しかもマシンがVISTAというこ<p><a href="http://kezy.org/2009/01/04/apache-html-php" class="excerpt_more">...続きを読む</a></p>]]></description>
			<content:encoded><![CDATA[<p>ローカル環境にPHPとApacheをインストールして作業をしていますが、ローカルでは.htaccessによる設定が反映されないようなので？わざわざApacheに直接設定することにしました。しかもマシンがVISTAということで、UACがほんとうざい。寝起き不機嫌な私としてはキレそうになりました。</p>
<p>とりあえず、Apacheの中にあるhttpd.confにある</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">AddType application<span style="color: #339933;">/</span>x<span style="color: #339933;">-</span>httpd<span style="color: #339933;">-</span>php <span style="color: #339933;">.</span>php</pre></td></tr></table></div>

<p>を次のように変更するだけ。とても簡単なんですが、VISTAではUACとかがポンポン出てきて、UAC無効にしなきゃいけなくて、でも結局無効にしないで無理やりゴリゴリと押し込んだんですが。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">AddType application<span style="color: #339933;">/</span>x<span style="color: #339933;">-</span>httpd<span style="color: #339933;">-</span>php <span style="color: #339933;">.</span>php <span style="color: #339933;">.</span>html</pre></td></tr></table></div>

<p>そろそろPCの買い替え時なので、VISTAからXPに戻したいところ。しかしMACのPCもとても気になります。また関係ありませんが、Linuxとかもとても興味があります。生活に余裕ができたら弄ろう。</p>
<p><ins datetime="2009-01-05T11:54:54+00:00">追記:<a href="http://kezy.org/apache/apache-htaccess.html">Apacheを.htaccessが使えるように設定する。</a>で解決しました。</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://kezy.org/2009/01/04/apache-html-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kezy.org/2009/01/04/apache-html-php" />
	</item>
	</channel>
</rss>
