<?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=2783</link>
		<description><![CDATA[.htaccess 에 대한 설명좀 해주세요.. 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Tue, 27 Feb 2007 11:14:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16807#p16807</link>
			<description><![CDATA[<p>corgan님 // <a href="http://forum.tattersite.com/ko/viewtopic.php?id=2869">http://forum.tattersite.com/ko/viewtopic.php?id=2869</a> 에서 보고된 버그로 태터툴즈 자체 수정이 필요한 사항인듯 싶습니다.</p>]]></description>
			<author><![CDATA[null@example.com (lunamoth)]]></author>
			<pubDate>Tue, 27 Feb 2007 11:14:02 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16807#p16807</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16806#p16806</link>
			<description><![CDATA[<p>태터툴즈 소스를 수정하다가 궁금한 점이 있어 문의드립니다.<br />제가 지금 테스트하고 있는 환경은 다중사용자 모드 path 방식입니다.<br />.htaccess 파일은 이렇게 되어있구요.</p><p>#&lt;IfModule mod_url.c&gt;<br />#CheckURL Off<br />#&lt;/ifModule&gt;<br />RewriteEngine On<br />RewriteBase /blogs/<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 ^[[:alnum:]]+/*$ blog/index.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+[0-9]+$ blog/item.php [E=SURI:1,L]<br />RewriteRule ^favicon\.ico$ blog/favicon.ico.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+favicon\.ico$ blog/favicon.ico.php [E=SURI:1,L]<br />RewriteRule ^index\.gif$ blog/index.gif.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+index\.gif$ blog/index.gif.php [E=SURI:1,L]<br />RewriteCond %{QUERY_STRING} (^|&amp;)pl=([0-9]+)<br />RewriteRule ^([[:alnum:]]+)/+index\.php$ $1/%2 [NE,L]<br />RewriteRule ^[[:alnum:]]+/+index\.php$ blog/index.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+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 ^[[:alnum:]]+/+(thumbnail)/([0-9]+/.+) cache/$1/$2 [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+(entry|attachment|category|keylog|tag|search|plugin)/? blog/$1/index.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+(.+)/[0-9]+$ blog/$1/item.php [E=SURI:1,L]<br />RewriteRule ^[[:alnum:]]+/+(.+)$ blog/$1/index.php [E=SURI:1,L]</p><p>예를 들어 블로그가 설치된 주소가 <a href="http://www.mydomain.com/blogs">www.mydomain.com/blogs</a> 라고 하고 사용자 a, b가 있을때<br /><a href="http://www.mydomain.com/blogs/tag">www.mydomain.com/blogs/tag</a> 이렇게 연결하면 전체 사용자의 태그 목록이 나오고 (lint/tag/index.php)<br /><a href="http://www.mydomain.com/blogs/a/tag">www.mydomain.com/blogs/a/tag</a> 이런 경우에는 해당하는 사용자의 태그들만 나오도록 (blog/tag/index.php) <br />하고 싶은데 RewriteRule을 어떤 식으로 지정해야 할지 몰라서 여기저기 고쳐봤지만 잘 안되네요 T.T <br />혹시 해결방법이 있다면 답변 부탁 드리겠습니다~ <br />감사합니다!</p>]]></description>
			<author><![CDATA[null@example.com (corgan)]]></author>
			<pubDate>Tue, 27 Feb 2007 07:15:23 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16806#p16806</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16285#p16285</link>
			<description><![CDATA[<div class="quotebox"><cite>dikafryo 작성:</cite><blockquote><p>.htaccess 의 RewriteRule 가 정규표현식을 사용하는것 같은데.</p><p>1. RewriteCond %{ENV:REDIRECT_SURI} 는 어떤 상태를 의미하는것인가요.</p></blockquote></div><p>SURI 처리가 완료되었는지 환경 변수를 통해 확인하는 if statement 같은 역할을 합니다.<br />rewrite는 변경된 url에 대해 다시 .htaccess를 처리하므로 내부적인 처리가 끝났다고 SURI 환경 변수를 설정하고 이를 확인하는 것입니다.</p><div class="quotebox"><cite>dikafryo 작성:</cite><blockquote><p>2. RewriteRule (.*) - [L]&nbsp; &nbsp; 에서&nbsp; &nbsp;- 가 무엇을 뜻하는지요?</p></blockquote></div><p>상위 rule에 해당되지 않은 나머지<strong>(.*)</strong>는 그대<strong>-</strong>로 처리완료<strong>L</strong>한다.</p><div class="quotebox"><cite>dikafryo 작성:</cite><blockquote><p>3. RewriteCond&nbsp; %{REQUEST_FILENAME} -d&nbsp; 와&nbsp; -f 가 있는데&nbsp; 에서 REQUEST_FILENAME 과 -d , -f 옵션의 의미는 무엇인가요.</p></blockquote></div><p>-f: REQUEST_FILENAME이 나타내는 regular file이 존재하는가?<br />-d: REQUEST_FILENAME이 나타내는 directory가 존재하는가?</p><div class="quotebox"><cite>dikafryo 작성:</cite><blockquote><p>4. RewriteRule 의 뒤에&nbsp; [NE] 는 무슨뜻인지요?</p></blockquote></div><p>no URI escaping of output, 이미 escape했으니 rewrite가 다시 escape하지 말아라.</p><div class="quotebox"><cite>dikafryo 작성:</cite><blockquote><p>이곳의 글 검색도 .htaccess 로 해도 안나와서 문의드립니다.&nbsp; </p><p>.htaccess 의 호출하는 파일의 제어가 제겐 신선한 충격으로 다가왔습니다.. 한동안은 이것때문에 잠을 설칠것 같네요.</p></blockquote></div><p>잠이 보약입니다! <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (PAPACHA)]]></author>
			<pubDate>Mon, 05 Feb 2007 01:13:37 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16285#p16285</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16280#p16280</link>
			<description><![CDATA[<div class="quotebox"><cite>Ikaris C. Faust 작성:</cite><blockquote><p>제가 써놓았는데 질문을 바꾸셨군요;;;<br />곤란합니다;;;</p></blockquote></div><p>아 죄송합니다. 님께서 답변하신 내용에 대한 질문도 위에 남겨 두었습니다만.. ^^;&nbsp; [L] 은.. 거기서 종료 한다는 구문.&nbsp; </p><p>제 질문이 너무 무성의한것 같아서.. 성의껏 다시 쓴다고.. 했는데 죄송합니다 ㅠㅠ</p>]]></description>
			<author><![CDATA[null@example.com (dikafryo)]]></author>
			<pubDate>Sun, 04 Feb 2007 14:47:38 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16280#p16280</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16266#p16266</link>
			<description><![CDATA[<p><a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html">http://httpd.apache.org/docs/2.0/misc/rewriteguide.html</a><br /><a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html">http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html</a></p><p>이 두 문서를 참조하시면 알 수 있을 겁니다.</p>]]></description>
			<author><![CDATA[null@example.com (daybreaker)]]></author>
			<pubDate>Sun, 04 Feb 2007 07:19:45 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16266#p16266</guid>
		</item>
		<item>
			<title><![CDATA[.htaccess 에 대한 설명좀 해주세요..]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16259#p16259</link>
			<description><![CDATA[<p>.htaccess 의 RewriteRule 가 정규표현식을 사용하는것 같은데.</p><p>1. RewriteCond %{ENV:REDIRECT_SURI} 는 어떤 상태를 의미하는것인가요.</p><p>2. RewriteRule (.*) - [L]&nbsp; &nbsp; 에서&nbsp; &nbsp;- 가 무엇을 뜻하는지요?</p><p>3. RewriteCond&nbsp; %{REQUEST_FILENAME} -d&nbsp; 와&nbsp; -f 가 있는데&nbsp; 에서 REQUEST_FILENAME 과 -d , -f 옵션의 의미는 무엇인가요.</p><p>4. RewriteRule 의 뒤에&nbsp; [NE] 는 무슨뜻인지요?</p><p>이곳의 글 검색도 .htaccess 로 해도 안나와서 문의드립니다.&nbsp; </p><p>.htaccess 의 호출하는 파일의 제어가 제겐 신선한 충격으로 다가왔습니다.. 한동안은 이것때문에 잠을 설칠것 같네요.</p>]]></description>
			<author><![CDATA[null@example.com (dikafryo)]]></author>
			<pubDate>Sat, 03 Feb 2007 13:47:26 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16259#p16259</guid>
		</item>
	</channel>
</rss>
