<?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>FuelPHP &#8211; トモデジ  tomodigi.com</title>
	<atom:link href="https://tomodigi.com/tag/fuelphp/feed/" rel="self" type="application/rss+xml" />
	<link>https://tomodigi.com</link>
	<description>デジタルもアナログも</description>
	<lastBuildDate>Thu, 29 May 2014 04:37:03 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>FuelPHPでindex.phpを省略する</title>
		<link>https://tomodigi.com/web/fuelphp%e3%81%a7index-php%e3%82%92%e7%9c%81%e7%95%a5%e3%81%99%e3%82%8b/</link>
					<comments>https://tomodigi.com/web/fuelphp%e3%81%a7index-php%e3%82%92%e7%9c%81%e7%95%a5%e3%81%99%e3%82%8b/#respond</comments>
		
		<dc:creator><![CDATA[Tomo]]></dc:creator>
		<pubDate>Thu, 29 May 2014 19:35:45 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[FuelPHP]]></category>
		<guid isPermaLink="false">http://www.tomodigi.com/?p=2262</guid>

					<description><![CDATA[FuelPHPでindex.phpを省略する時のメモ。ディレクトリ&#8221;fuel&#8221;に標準通りインストールしました。使用バージョンは1.7.1です。行数はバージョンによって適当に読み替えて下さい。 ディ &#8230; <a href="https://tomodigi.com/web/fuelphp%e3%81%a7index-php%e3%82%92%e7%9c%81%e7%95%a5%e3%81%99%e3%82%8b/" class="more-link">続きを読む <span class="screen-reader-text">FuelPHPでindex.phpを省略する</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>FuelPHPでindex.phpを省略する時のメモ。ディレクトリ&#8221;fuel&#8221;に標準通りインストールしました。使用バージョンは1.7.1です。行数はバージョンによって適当に読み替えて下さい。</p>
<p>ディレクトリの構造はこのような状態です。</p>
<p><code>+-fuel（インストール先）</code><br />
<code>   +-docs</code><br />
<code>   +-fuel</code><br />
<code>   +-app</code><br />
<code>   +-config</code><br />
<code>     config.php（これを編集）</code><br />
<code>   +-public（公開ルート）</code><br />
<code>     .htaccess（これを編集）</code><br />
<code>   +-その他</code></p>
<p>上記、app/config/config.phpとpublic/.htaccessを編集します。</p>
<p>config.php<br />
45行目のコメントアウトされている行を有効にする。<br />
<code>//'index_file' =&gt; false,</code><br />
<code>↓</code><br />
<code>'index_file' =&gt; false,</code></p>
<p>.htaccess<br />
13行目のコメントアウトされている行を有効にして、ディレクトリを変更 <code>#RewriteBase /wherever/fuel/is</code><br />
<code>↓</code><br />
<code>RewriteBase /</code></p>
<p>29,30,31行目のコメントアウトされている行を有効にする。<br />
<code>#RewriteCond %{HTTP:X-Requested-With}    !^XMLHttpRequest$</code><br />
<code>#RewriteCond %{THE_REQUEST}                ^[^/]*/index\.php [NC]</code><br />
<code>#RewriteRule ^index\.php(.*)$            $1 [R=301,NS,L]</code><br />
<code>↓</code><br />
<code>RewriteCond %{HTTP:X-Requested-With}    !^XMLHttpRequest$</code><br />
<code>RewriteCond %{THE_REQUEST}                ^[^/]*/index\.php [NC]</code><br />
<code>RewriteRule ^index\.php(.*)$            $1 [R=301,NS,L]</code></p>
<p>以上で&#8221;index.php&#8221;を除いてアクセスできるはずです。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tomodigi.com/web/fuelphp%e3%81%a7index-php%e3%82%92%e7%9c%81%e7%95%a5%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
