<?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=2809</link>
		<description><![CDATA[.htaccess를 이용한 포워딩이 가능할까요?? 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Sat, 05 May 2007 09:18:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: .htaccess를 이용한 포워딩이 가능할까요??]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=18081#p18081</link>
			<description><![CDATA[<p>쉬어가는 의미에서, (?)<br />태영님, 구지 -&gt; 굳이 입니다 (..)</p>]]></description>
			<author><![CDATA[null@example.com (나니)]]></author>
			<pubDate>Sat, 05 May 2007 09:18:18 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=18081#p18081</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess를 이용한 포워딩이 가능할까요??]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=18072#p18072</link>
			<description><![CDATA[<div class="quotebox"><cite>컴ⓣing 작성:</cite><blockquote><p>글번호가 764번 이하면 다 포워딩 시키면 될 것 같아서 이렇게도 해봤는데.. <br />RewriteRule ^(www\.mydiary\.biz\/[0-7][0-6][0-4])$ /home2/skynet/html/rediret.php [L]</p><p>이것도 틀린 문법일까요?? ㅡ.ㅡ;;</p></blockquote></div><p>문법 관련해서는 모르겠고 생각하신 아이디어랑 정규표현식이랑 매칭이 제대로 안되고 있습니다.</p><p>0~7사이한글자 0~6사이 한글자 0~4사이 한글자 이렇게 나와야지 매칭이 되게 되므로 699 같은 숫자는 저 패턴에 매칭이 되지 않습니다.</p><p>구지 정규표현식으로 표현하시고 싶으시다면</p><p>([0-6][0-9][0-9]|[0-9][0-9]|[0-9]|7[0-5][0-9]|76[0-4]) 와 같은 식이 되야 하지 않을까 싶네요.</p>]]></description>
			<author><![CDATA[null@example.com (정태영)]]></author>
			<pubDate>Fri, 04 May 2007 11:50:06 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=18072#p18072</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess를 이용한 포워딩이 가능할까요??]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=18071#p18071</link>
			<description><![CDATA[<div class="quotebox"><cite>컴ⓣing 작성:</cite><blockquote><p>RewriteCond ^/([0-9].*)<br />RewriteCond %{REQUEST_FILENAME} -f [OR]<br />RewriteCond %{REQUEST_FILENAME} -d<br />RewriteRule ^(.*) /home2/skynet/html/redirect.php [L]</p><p>redirect.php 파일의 내용은.. <br />&lt;?<br />&nbsp; &nbsp; &nbsp; &nbsp; $que = getenv(&quot;REQUEST_URI&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; header(&quot;location:http://mydiart1st.tistory.com$que&quot;);<br />?&gt;</p></blockquote></div><p>저런식이라면 구지 redirect.ph 를 이용할 필요가 없습니다.</p><div class="quotebox"><blockquote><p>&lt;IfModule mod_rewrite.c&gt;</p><p>RewriteEngine on<br />RewriteBase /<br />RewriteCond %{REQUEST_FILENAME} !-f [OR]<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule (.*)&nbsp; &nbsp; <a href="http://mydiart1st.tistory.com/$1">http://mydiart1st.tistory.com/$1</a> [R=301]</p><p>&lt;/IfModule&gt;</p></blockquote></div><p>301이 아마 moved permantly 일거에요 <img src="http://forum.tattersite.com/ko/img/smilies/wink.png" width="15" height="15" alt="wink" /> 뭐하튼 위와 같이 하시면 됩니다.</p>]]></description>
			<author><![CDATA[null@example.com (정태영)]]></author>
			<pubDate>Fri, 04 May 2007 11:44:22 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=18071#p18071</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: .htaccess를 이용한 포워딩이 가능할까요??]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16378#p16378</link>
			<description><![CDATA[<p>글번호가 764번 이하면 다 포워딩 시키면 될 것 같아서 이렇게도 해봤는데.. <br />RewriteRule ^(www\.mydiary\.biz\/[0-7][0-6][0-4])$ /home2/skynet/html/rediret.php [L]</p><p>이것도 틀린 문법일까요?? ㅡ.ㅡ;;</p>]]></description>
			<author><![CDATA[null@example.com (컴ⓣing)]]></author>
			<pubDate>Wed, 07 Feb 2007 06:11:04 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16378#p16378</guid>
		</item>
		<item>
			<title><![CDATA[.htaccess를 이용한 포워딩이 가능할까요??]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=16372#p16372</link>
			<description><![CDATA[<p>블로그를 이전하고나서.. </p><p>이올린이나 올블로그같은 메타사이트들에서 발행 해제를 했다가 다시 하는 것도 그렇고..</p><p>이리저리 머리 굴리다보니.. </p><p>.htaccess에서 조건을 통해서 예전 글들은 이전한 블로그로 포워딩을 시킬 수 있지 않을까..라는 생각이 들던데</p><p>가능할런지 모르겠습니다.</p><br /><p>제가 생각한 조건은.. </p><p>파일이나 디렉토리가 없고, 숫자로 구성되어있으면 앞에 도메인을 바꾸자.. </p><p>머 이런 생각입니다.</p><p>문법은 모르는 상태에서 대충 끄적여 만들어봤는데.. </p><p>봐주실 분 계신가요? </p><p>RewriteCond ^/([0-9].*)<br />RewriteCond %{REQUEST_FILENAME} -f [OR]<br />RewriteCond %{REQUEST_FILENAME} -d<br />RewriteRule ^(.*) /home2/skynet/html/redirect.php [L]</p><p>redirect.php 파일의 내용은.. <br />&lt;?<br />&nbsp; &nbsp; &nbsp; &nbsp; $que = getenv(&quot;REQUEST_URI&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; header(&quot;location:http://mydiart1st.tistory.com$que&quot;);<br />?&gt;</p><p>이렇게 했습니다.</p><br /><p><a href="http://miru.pe.kr/entry/Rewrite-Module-여러개의-도메인을-하나로">http://miru.pe.kr/entry/Rewrite-Module-여러개의-도메인을-하나로</a><br />이 사이트의 내용을 참고로 해서 했는데.. </p><p>안되는 것 같더라구요 -_-;; </p><p>문법은 둘째치고 저 조건으로 포워딩이 될지도 의문이긴 합니다..;;</p><br /><br /><p>덧.. 해보긴 해봤는데.. htaccess 파일에 저 내용을 모두 넣으면 500 Internal Server Error 뜨네요..;;</p>]]></description>
			<author><![CDATA[null@example.com (컴ⓣing)]]></author>
			<pubDate>Wed, 07 Feb 2007 02:23:01 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=16372#p16372</guid>
		</item>
	</channel>
</rss>
