<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - Problem with .htaccess and lighttpd]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=6496</link>
		<description><![CDATA[Problem with .htaccess and lighttpd 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Mon, 01 Dec 2008 06:47:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: Problem with .htaccess and lighttpd]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=32386#p32386</link>
			<description><![CDATA[<div class="codebox"><pre><code>RewriteEngine On
RewriteBase /tc/
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(cache)+/+(.+[^/])\.(cache|xml|txt|log)$ - [NC,F,L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L]
RewriteRule ^(.*)$ rewrite.php [L,QSA]</code></pre></div><p>위 룰을 lighttpd 웹 서버에도 적용해 보고 싶은데 잘 안되어서 여기까지 오게되었습니다. (__)</p><p>lighttpd rewrite 써서 비슷하게 룰은 지정 하였지만 특정 URL 을 찾지 못하네요 T_T<br />페이징 문제도 있구요 -0-</p><p>Apache 웹 서버를 많이 사용 하지만 리소스 점유률이 낮은 Lighttpd 웹 서버도 공식으로 지원해 주셨으면 합니다. 물론 rewrite 기능을 끄고 사용은 가능 하지만 URL 깔끔하게 하고 싶어서 이렇게 글 남깁니다.</p>]]></description>
			<author><![CDATA[null@example.com (단풍)]]></author>
			<pubDate>Mon, 01 Dec 2008 06:47:40 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=32386#p32386</guid>
		</item>
		<item>
			<title><![CDATA[Problem with .htaccess and lighttpd]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=29947#p29947</link>
			<description><![CDATA[<p>Hello.<br />I know. This is not forum for user frm other countries but I have question about rewrite rules for Ligghtpd server. I want to have rules to make URLs like /blogname/owner etc. Ive made something like this:<br /></p><div class="codebox"><pre><code>$HTTP[&quot;remoteip&quot;] == &quot;127.0.0.2&quot; {
    server.document-root = &quot;/var/www/tc/&quot;
    url.rewrite-once = (
        &quot;^(thumbnail)/([0-9]+/.+)$&quot; =&gt; &quot;cache/$1/$2&quot;,
        &quot;^(cache)+/+(.+[^/])\.(cache|xml|txt|log)$&quot; =&gt; &quot;$0&quot;,
        &quot;^(.*[^/])$&quot; =&gt; &quot;$1/&quot;,
        &quot;^(.*)$&quot; =&gt; &quot;rewrite.php&quot;
    )
}</code></pre></div><p>It works only when adress looks like <a href="http://127.0.0.2/grom/owner/">http://127.0.0.2/grom/owner/</a> but dont work if I have URL like <a href="http://127.0.0.2/grom/owner">http://127.0.0.2/grom/owner</a> so as I think problem is with &quot;^(.*[^/])$&quot; =&gt; &quot;$1/&quot; but how to correct that? Any suggestions? Any advice? If someone knows how to resolve that then please tell me ;P</p><p>Best regards, Grom.</p>]]></description>
			<author><![CDATA[null@example.com (Grom)]]></author>
			<pubDate>Thu, 28 Aug 2008 00:56:43 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=29947#p29947</guid>
		</item>
	</channel>
</rss>
