<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - .htaccess 파일문제...]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=1318</link>
		<description><![CDATA[.htaccess 파일문제... 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Thu, 10 Jan 2008 10:32:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 파일문제...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=23350#p23350</link>
			<description><![CDATA[<p>스팸때문에 잠급니다 ㅠ_ㅠ</p><p>덧) 이 글의 문제는 1.6에서 해결되었습니다.</p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Thu, 10 Jan 2008 10:32:42 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=23350#p23350</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 파일문제...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=7990#p7990</link>
			<description><![CDATA[<p>혹시나 해결됐나 하고 오랜만에 들렀는데... 그대로인가 보네요.<br /><a href="http://forum.tattertools.com/ko/viewtopic.php?id=129">http://forum.tattertools.com/ko/viewtopic.php?id=129</a></p><p>REDIRECT_URL 이나 REQUEST_URI 를 사용하는 대신<br />CGI 1.1 스펙에 따라 QUERY_STRING, SCRIPT_NAME 을 사용하는 방향으로 바뀌길 기대합니다.</p><p>일단 1.1버전대에서 lib/suri.php 맨 앞부분을<br />$url = $_SERVER[&#039;REQUEST_URI&#039;];<br />if (($url_fix_pos=strpos($url, &#039;?&#039;, 1))!==false) $url = substr($url, 0, $url_fix_pos);<br />이런 식으로 바꿈으로써<br />어느 정도는 사용이 가능합니다.</p>]]></description>
			<author><![CDATA[null@example.com (우수한)]]></author>
			<pubDate>Sun, 20 Aug 2006 02:28:12 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=7990#p7990</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 파일문제...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=7609#p7609</link>
			<description><![CDATA[<p>고질적인 문제인 .htaccess 문제는 1.5나 2.0 즈음에 폴더 구조를 한 번쯤 뒤집어 엎어서 해결보자는 의견이 유력한 상태입니다...</p><p>물론 FastCGI도 마찬가지고용....</p>]]></description>
			<author><![CDATA[null@example.com (건더기)]]></author>
			<pubDate>Fri, 11 Aug 2006 04:45:20 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=7609#p7609</guid>
		</item>
		<item>
			<title><![CDATA[.htaccess 파일문제...]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=7590#p7590</link>
			<description><![CDATA[<p>태터툴즈를 처음 사용하는 유저입니다.<br />MySQL 5.0 + Apache 2.0 + PHP 5.1 (FastCGI) 환경에서<br />1.0 정식버전을 멀티 유저 블로그로 설치했습니다만, 전혀 사용할 수가 없습니다.<br /><a href="http://xxxxx.com/사용자명">http://xxxxx.com/사용자명</a> 이라고 입력하면 화면에 아무것도 나오지 않습니다.<br /><a href="http://xxxxx.com/사용자명/owner">http://xxxxx.com/사용자명/owner</a> 라고 입력하면<br /><a href="http://xxxxx.com/blog/owner/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry/index.php/index.php/entry">http://xxxxx.com/blog/owner/index.php/e … .php/entry</a><br />라는 식으로 주소가 반복되어 붙어서&nbsp; 이동, 결국 페이지를 불러올 수 없습니다.</p><p>아무래도 Rewrite Cond 및 Rewrite Rule 에 뭔가 문제가 있는 듯 한데요.<br />먼저&nbsp; /blog/owner/index.php 를 호출하면 <br />여기서 /blog/owner/index.php/entry 로 이동하려고 하고<br />그리하여 같은 스크립트가 반복되면서&nbsp; /blog/owner/index.php/entry/index.php/entry ...... 로 돌아가는 겁니다.</p><p>참고로 /blog/owner/index.php 에서 리다이렉트하기 전에 $_SERVER 값을 출력해보면 다음과 같이 나옵니다.<br />&nbsp; &nbsp; [REDIRECT_REDIRECT_SURI] =&gt; 1<br />&nbsp; &nbsp; [REDIRECT_REDIRECT_STATUS] =&gt; 200<br />&nbsp; &nbsp; [REDIRECT_STATUS] =&gt; 200<br />&nbsp; &nbsp; [SCRIPT_FILENAME] =&gt; /홈디렉토리/blog/owner/index.php<br />&nbsp; &nbsp; [REDIRECT_URL] =&gt; /blog/owner/index.php<br />&nbsp; &nbsp; [REQUEST_URI] =&gt; /사용자명/owner<br />&nbsp; &nbsp; [SCRIPT_NAME] =&gt; /blog/owner/index.php<br />&nbsp; &nbsp; [PATH_INFO] =&gt; <br />&nbsp; &nbsp; [PATH_TRANSLATED] =&gt; <br />&nbsp; &nbsp; [PHP_SELF] =&gt; /blog/owner/index.php</p><p>라는 문제로 thelod.net/blog<br />에 설치를 못하고 계시다는군요...</p><p>참고로 .htaccess 파일 내용입니다.</p><p>RewriteEngine On<br />RewriteBase /blog/<br />RewriteCond %{ENV:REDIRECT_SURI} !^$<br />RewriteRule (.*) - [L]<br />RewriteCond %{REQUEST_FILENAME} -d<br />RewriteRule ^(.+[^/])$ $1/ [L]<br />RewriteRule ^$ blog/index.php [E=SURI:1,L]<br />RewriteRule ^[0-9]+$ blog/item.php [E=SURI:1,L]<br />RewriteRule ^favicon\.ico$ blog/favicon.ico.php [E=SURI:1,L]<br />RewriteRule ^index\.gif$ blog/index.gif.php [E=SURI:1,L]<br />RewriteCond %{QUERY_STRING} (^|&amp;)pl=([0-9]+)<br />RewriteRule ^index\.php$ %2 [NE,L]<br />RewriteRule ^index\.php$ blog/index.php [E=SURI:1,L]<br />RewriteRule ^index\.xml$ blog/rss/index.php [E=SURI:1,L]<br />RewriteCond %{REQUEST_FILENAME} -f [OR]<br />RewriteCond %{REQUEST_FILENAME} -d<br />RewriteRule !^(blog|cache)/ - [L]<br />RewriteRule ^(entry|attachment|category|keylog|tag|search|plugin)/? blog/$1/index.php [E=SURI:1,L]<br />RewriteRule ^(.+)/[0-9]+$ blog/$1/item.php [E=SURI:1,L]<br />RewriteRule ^(.+)$ blog/$1/index.php [E=SURI:1,L]</p>]]></description>
			<author><![CDATA[null@example.com (Juno)]]></author>
			<pubDate>Fri, 11 Aug 2006 01:36:55 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=7590#p7590</guid>
		</item>
	</channel>
</rss>
