<?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>Encodez Blog &#187; lighttpd</title>
	<atom:link href="http://encodez.com/blog/category/web-server/lighttpd/feed/" rel="self" type="application/rss+xml" />
	<link>http://encodez.com/blog</link>
	<description>Computer language design is just like a stroll in the park. Jurassic Park, that is. — Larry Wall</description>
	<lastBuildDate>Thu, 22 Jul 2010 05:34:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Translate Apache URL-Rewrite into Lighttpd for VBulletin tfSEO</title>
		<link>http://encodez.com/blog/2008/10/translate-apache-url-rewrite-lighthttpd-vbulletin-tfseo/</link>
		<comments>http://encodez.com/blog/2008/10/translate-apache-url-rewrite-lighthttpd-vbulletin-tfseo/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 21:32:11 +0000</pubDate>
		<dc:creator>Muneer Shaheed</dc:creator>
				<category><![CDATA[htaccess]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[light httpd]]></category>
		<category><![CDATA[tfseo]]></category>
		<category><![CDATA[url-rewrite]]></category>

		<guid isPermaLink="false">http://www.pc4safe.com/blog/?p=56</guid>
		<description><![CDATA[If you are interested in this topic, I am sure you know about the vbulletin and tfSEO plugin. It is the famouse VBulletin forum software what I have installed. For the SEO part I had installed the tfSEO which was performing well and gave me a good result in a short term. Recently, I was [...]]]></description>
			<content:encoded><![CDATA[<p>If you are interested in this topic, I am sure you know about the vbulletin and tfSEO plugin. It is the famouse VBulletin forum software what I have installed. For the SEO part I had installed the tfSEO which was performing well and gave me a good result in a short term.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6032126876218296";
google_ad_slot = "8998015769";
google_ad_width = 468;
google_ad_height = 60;
google_cpa_choice = "";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Recently, I was facing a terrible bandwidth problem with my forum hosting provider. It was shared hosting which is built on Apache 2. You know, rewriting url work with the help of Apache RewriteEngine which is built on mod_rewrite module. Eventually, I had to change my hosting to a VPS solution. Also I prefered the lighthttpd server as my webserver as it is not heavy and taking less server resourses. Unfortunately I found tfSEO is not supporting lighthttpd as lighthttpd url-rewrite is different and it doesnt have htaccess file support. Ran around several forums. There were no solutions. At the end I refer to lighthttpd documentation and had to built my own url-rewrite. I like to share what I did tfSEO get back into work and it might be useful for some one who can face this in future.</p>
<p>The replaced code of tfSEO from htaccess to lighthttpd url-rewrite</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">url.rewrite-once = <span style="color: #7a0874; font-weight: bold;">&#40;</span>
<span style="color: #ff0000;">&quot;^/forum/([^/]+)/([^/]+)-([0-9]+)\/newpost.html$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showthread.php?t=$3&amp;goto=newpost&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/([^/]+)/([^/]+)-([0-9]+)\/$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showthread.php?t=$3&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/f([0-9]+)\/$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/forumdisplay.php?f=$1&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/f([0-9]+)\/([a-z]+)([0-9]+).html$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/forumdisplay.php?f=$1&amp;page=$3&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/([^/]+)/([^/]+)-t([0-9]+)/page([0-9]+).html$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showthread.php?t=$3&amp;page=$4&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/([^/]+)/([^/]+)-t([0-9]+)/page([0-9]+).html(&amp;page)=([0-9]+)$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showthread.php?t=$3&amp;page=$4&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/([^/]+)/([^/]+)-t([0-9]+)/$&quot;</span>  =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showthread.php?t=$3&quot;</span>,
<span style="color: #ff0000;">&quot;^/forum/f([^/]+)/([^/]+)-([0-9]+)\/post([0-9]+).html$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;/forum/showpost.php?p=$4&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></td></tr></table></div>

<p>so on. This will work to VBulletin version 3.6.x and tfSEO version 1.1.3 in httpd webserver running on LXAdmin under Hyper VM.</p>
]]></content:encoded>
			<wfw:commentRss>http://encodez.com/blog/2008/10/translate-apache-url-rewrite-lighthttpd-vbulletin-tfseo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
