<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>lighty's life: Tag 1.5.0</title>
    <link>http://blog.lighttpd.net/articles/tag/1.5.0</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1992</title>
      <description>&lt;p&gt;Some time passed since the last pre-release, time for an update.&lt;/p&gt;


	&lt;p&gt;Everyone who runs 1.5.0 already has to upgrade to get fixes several vulnerabilities that got fixed in the 1.4.x branch already.&lt;/p&gt;


	&lt;p&gt;If this release passes your requirements it will be the last 1.5.0 pre-release. Afterwards we will start the the normal 1.5.x series and will add the missing features in 1.5.1 and later.&lt;/p&gt;


	&lt;p&gt;Download:
  &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1992.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1992.tar.gz&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;md5sum: &lt;code&gt;b62e2442ee0f3395844b54385b14397a&lt;/code&gt;&lt;/p&gt;


&lt;h3&gt;Changes&lt;/h3&gt;

	&lt;ul&gt;
	&lt;li&gt;added native support for mingw32&lt;/li&gt;
		&lt;li&gt;added experimental option to compile without glib &lt;/li&gt;
		&lt;li&gt;fixed mod_uploadprogress&lt;/li&gt;
		&lt;li&gt;fixed endless loop on freebsd-sendfile (&lt;a href="http://trac.lighttpd.net/trac/ticket/1289"&gt;#1289&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed compile in &lt;span class="caps"&gt;IRIX&lt;/span&gt; and HP/UX&lt;/li&gt;
		&lt;li&gt;fixed hardcoded font-sizes in mod_dirlisting (&lt;a href="http://trac.lighttpd.net/trac/ticket/1267"&gt;#1267&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed different ETag length on 32/64 platforms (&lt;a href="http://trac.lighttpd.net/trac/ticket/1279"&gt;#1279&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed conditional dir-listing.exclude (&lt;a href="http://trac.lighttpd.net/trac/ticket/930"&gt;#930&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed &lt;span class="caps"&gt;CONTENT&lt;/span&gt;_LENGTH = -1 in mod_cgi (&lt;a href="http://trac.lighttpd.net/trac/ticket/1276"&gt;#1276&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed typecast of &lt;span class="caps"&gt;NULL&lt;/span&gt; on execl() (&lt;a href="http://trac.lighttpd.net/trac/ticket/1235"&gt;#1235&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed extra Content-Length header on 1xx, 204 and 304 (&lt;a href="http://trac.lighttpd.net/trac/ticket/1002"&gt;#1002&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed mysql server reconnects (&lt;a href="http://trac.lighttpd.net/trac/ticket/518"&gt;#518&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;fixed prctl() usage (&lt;a href="http://trac.lighttpd.net/trac/ticket/1310"&gt;#1310&lt;/a&gt;, &lt;a href="http://trac.lighttpd.net/trac/ticket/1333"&gt;#1333&lt;/a&gt;)&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"&gt;fixed FastCGI header overrun in mod_proxy_backend_fastcgi&lt;/a&gt; (reported by mattias@secweb.se)&lt;/li&gt;
		&lt;li&gt;fixed mem-leak in mod_auth (reported by Stefan Esser)&lt;/li&gt;
		&lt;li&gt;fixed crash with md5-sess and cnonce not set in mod_auth (reported by Stefan Esser)&lt;/li&gt;
		&lt;li&gt;fixed missing check for base64 encoded string in mod_auth and Basic auth
    (reported by Stefan Esser)&lt;/li&gt;
		&lt;li&gt;fixed possible crash in Auth-Digest header parser on trailing WS in
    mod_auth (reported by Stefan Esser)&lt;/li&gt;
	&lt;/ul&gt;
</description>
      <pubDate>Thu, 06 Sep 2007 22:21:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:546c73e8-eb68-4171-96a3-578a881f1b14</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/09/06/pre-release-lighttpd-1-5-0-r1992</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/4760</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1857.tar.gz</title>
      <description>&lt;p&gt;Baby-steps, ...&lt;/p&gt;


	&lt;p&gt;As we are running this release on lighttpd.net it is time to push it out to more testers.&lt;/p&gt;


	&lt;p&gt;Download: &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz&lt;/a&gt;&lt;/p&gt;


Changes:
	&lt;ul&gt;
	&lt;li&gt;mod-proxy-core&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;added support to rewrite &lt;span class="caps"&gt;PATHINFO&lt;/span&gt; and &lt;span class="caps"&gt;SCRIPTNAME&lt;/span&gt;&lt;/li&gt;
		&lt;li&gt;fixed setenv.environment support&lt;/li&gt;
		&lt;li&gt;fixed random crashes&lt;/li&gt;
		&lt;li&gt;fixed keep-alive announcement if keep-alive is disabled&lt;/li&gt;
		&lt;li&gt;fixed handling of status 304 from the backends&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;fixed handling of trailing &lt;span class="caps"&gt;CRLF&lt;/span&gt; after a KeepAlive &lt;span class="caps"&gt;POST&lt;/span&gt;&lt;/li&gt;
		&lt;li&gt;fixed the output of lighttpd -p to result in a real configfile&lt;/li&gt;
		&lt;li&gt;fixed loading of default modules if they are explicitly specified&lt;/li&gt;
	&lt;/ul&gt;
</description>
      <pubDate>Mon, 21 May 2007 12:22:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:fc3dd443-45d3-417a-85ca-ae9b93ac2966</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/05/21/pre-release-lighttpd-1-5-0-r1857-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/4446</trackback:ping>
    </item>
    <item>
      <title>lighttpd.net runs on 1.5.0</title>
      <description>&lt;p&gt;All the lighttpd.net domains (blog, trac, www, xcache, upload, ...) are now running lighttpd 1.5.0-trunk. It took some debugging to sort out problems with the way trac wants to handle &lt;span class="caps"&gt;PATH&lt;/span&gt;_INFO &lt;a href="http://trac.lighttpd.net/trac/changeset/1841"&gt;[1841]&lt;/a&gt; 
and how ruby handles fastcgi-keepalive requests via Unix-Sockets &lt;a href="http://trac.lighttpd.net/trac/changeset/1850"&gt;[1850]&lt;/a&gt; &lt;a href="http://trac.lighttpd.net/trac/changeset/1849"&gt;[1849]&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;In case you see that one of the sites is down, ping me (weigon) on &lt;span class="caps"&gt;IRC&lt;/span&gt; (irc.freenode.net). The server is running in valgrind and should provide enough information to fix the problem.&lt;/p&gt;
&lt;h3&gt;compression&lt;/h3&gt;

	&lt;p&gt;All the content is sent as compressed content if the client supports it. As some browsers have problems with compressed javascript and &lt;span class="caps"&gt;CSS&lt;/span&gt; we only enabled it for Firefox for now.&lt;/p&gt;


&lt;pre&gt;
deflate.mimetypes = ( "text/html" )

$HTTP["useragent"] =~ "Firefox" {
  deflate.mimetypes += ( "text/javascript", "text/css" )
}
&lt;/pre&gt;

&lt;h3&gt;trac&lt;/h3&gt;

	&lt;p&gt;For the trac I use:&lt;/p&gt;


&lt;pre&gt;
$HTTP["host"] =~ "^trac\.lighttpd\.net" {
    # alias, ...

    $HTTP["url"] =~ "^/trac/" {
        proxy-core.backends = ( "127.0.0.1:9090" )
        proxy-core.protocol = "fastcgi" 
        proxy-core.rewrite-request = (
           "_pathinfo" =&amp;gt; ( "^/trac(/.*)" =&amp;gt; "$1" ),
           "_scriptname" =&amp;gt; ( "^(/trac/)" =&amp;gt; "$1" )
        )
    }
}
&lt;/pre&gt;

	&lt;p&gt;the rewrites tune the &lt;span class="caps"&gt;PATH&lt;/span&gt;_INFO and &lt;span class="caps"&gt;SCRIPT&lt;/span&gt;_NAME settings to the needs of trac. It should also handle the old bug around trac without a prefix.&lt;/p&gt;


&lt;h3&gt;rails + fastcgi&lt;/h3&gt;

	&lt;p&gt;Thanks to the rails apps we run on blog.lighttpd.net and www.lighttpd.net I could trace down some nasty bugs. One is still open and is around the fastcgi keepalive + fcgi.rb. It isn&amp;#8217;t tracked down yet, not enabling it seems to be safe for now.&lt;/p&gt;


	&lt;p&gt;For &lt;a href="http://mephistoblog.com/"&gt;mephisto&lt;/a&gt; we are using the &lt;a href="http://pixel.global-banlist.de/"&gt;cleanurl.lua&lt;/a&gt; to get rid of the &lt;em&gt;server.error-handler-404&lt;/em&gt;.&lt;/p&gt;</description>
      <pubDate>Wed, 09 May 2007 10:24:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9d50462e-f350-44f4-8322-282579850381</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/05/09/lighttpd-net-runs-on-1-5-0</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/4250</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1811.tar.gz</title>
      <description>&lt;p&gt;... or &lt;a href="http://en.wikipedia.org/wiki/Eat_one's_own_dog_food"&gt;eating our&amp;#8217;s own dog food&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;We are now running &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1811.tar.gz"&gt;lighttpd 1.5.0-r1811&lt;/a&gt; at &lt;a href="http://www.lighttpd.net:1025/"&gt;lighttpd.net&lt;/a&gt; next to the lighttpd-1.4.13 [official debian] package.&lt;/p&gt;


	&lt;p&gt;This is one way to say that this is a Release Candidate and that we want to expose it to more testers out there. &lt;strong&gt;Update&lt;/strong&gt;: lighttpd.net is running on 1.5.0-trunk/&lt;/p&gt;


	&lt;p&gt;As working demo you have:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://lighttpd.net/"&gt;http://lighttpd.net&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://upload.lighttpd.net/upload.html"&gt;http://upload.lighttpd.net/upload.html&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Yes, that&amp;#8217;s mod_uploadprogress in action :)&lt;/p&gt;
</description>
      <pubDate>Fri, 20 Apr 2007 13:49:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:7b9c3680-6c14-40e0-81ca-a7643f6d11bd</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/04/20/pre-release-lighttpd-1-5-0-r1811-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/4027</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1691.tar.gz</title>
      <description>&lt;p&gt;A new pre-release on the road to stabilize 1.5.0.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.lighttpd.net/download"&gt;http://www.lighttpd.net/download&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Most of the work went into mod-proxy-core and new platforms:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;m-p-c can handle uploads via &lt;span class="caps"&gt;APJ13&lt;/span&gt; which required some larger patches&lt;/li&gt;
		&lt;li&gt;we should compile fine on solaris and &lt;span class="caps"&gt;IRIX&lt;/span&gt; again&lt;/li&gt;
		&lt;li&gt;kqueue should work too again&lt;/li&gt;
		&lt;li&gt;we compile natively on win32 (staticly and dynamicly)&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The is the first official release that compiles natively on win32. Read the instructions on &lt;a href="http://trac.lighttpd.net/trac/browser/trunk/doc/build-win32.txt"&gt;docs/build-win32.txt&lt;/a&gt; if you want to build yourself. It even starts :)&lt;/p&gt;


	&lt;p&gt;I have to say thanks to all the testers on the &lt;span class="caps"&gt;IRC&lt;/span&gt; channel, to jtiai for the win32 patches and jakabosky for the hard work on mod-proxy-core.&lt;/p&gt;
&lt;h3&gt;ChangeLog&lt;/h3&gt;

	&lt;ul&gt;
	&lt;li&gt;added mod_cgi again&lt;/li&gt;
		&lt;li&gt;added cmake on win32 (static and dynamic)&lt;/li&gt;
		&lt;li&gt;fixed http-chunk decoding&lt;/li&gt;
		&lt;li&gt;fixed several hangs when compression is used&lt;/li&gt;
		&lt;li&gt;fixed invalid Content-Length headers in Range-responses&lt;/li&gt;
		&lt;li&gt;fixed handling of out-of-fds&lt;/li&gt;
		&lt;li&gt;fixed support for Solaris and compilation on &lt;span class="caps"&gt;IRIX&lt;/span&gt;&lt;/li&gt;
		&lt;li&gt;fixed the kqueue event-handler&lt;/li&gt;
		&lt;li&gt;fixed mem-leak in Range requests&lt;/li&gt;
		&lt;li&gt;fixed &lt;span class="caps"&gt;EFAULT&lt;/span&gt; in gthread-aio&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Fri, 23 Feb 2007 10:18:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:67faaefe-388c-4f3b-ab3f-6461dfa1f8fb</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/02/23/pre-release-lighttpd-1-5-0-r1691-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/3325</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1605.tar.gz</title>
      <description>&lt;p&gt;A lot of changes made it into the svn recently. It is time again to spread the code to more testers than just the few early adaptors who are using the svn-trunk/&lt;/p&gt;


Please try out the new stuff around async-io and dynamic compression of content. Even directory-listings are now automaticly compressed. Just load mod_deflate and set 
&lt;pre&gt;
deflate.mimetypes = ( "text/html" )
&lt;/pre&gt;

	&lt;p&gt;Download:&lt;/p&gt;


	&lt;p&gt;&lt;b&gt;updated&lt;/b&gt;
&lt;a href="http://www.lighttpd.net/assets/2007/2/4/lighttpd-1.5.0-r1605.tar.gz"&gt;lighttpd-1.5.0-r1605.tar.gz&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;ChangeLog (r1605):&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;added check for leading slashes in mod_rewrite&lt;/li&gt;
		&lt;li&gt;improved async-io performance for files between 4k and 16k&lt;/li&gt;
		&lt;li&gt;fixed compression of static files in mod_deflate&lt;/li&gt;
		&lt;li&gt;fixed configure check for the library providing aio_read()&lt;/li&gt;
		&lt;li&gt;fixed moddirlisting, modstaticfile and the internal error-pages for mod_deflate&lt;/li&gt;
		&lt;li&gt;fixed compilation on FreeBSD and MacOS X&lt;/li&gt;
	&lt;/ul&gt;


ChangeLog (r1593):
	&lt;ul&gt;
	&lt;li&gt;added O_NOATIME support to the network-backends linux-sendfile and writev&lt;/li&gt;
		&lt;li&gt;added a portable, threaded network-backend based on glib&amp;#8217;s gthread&lt;/li&gt;
		&lt;li&gt;added threaded stat()&lt;/li&gt;
		&lt;li&gt;added url.redirect-code to mod_redirect to set other &lt;span class="caps"&gt;HTTP&lt;/span&gt; status-codes than 302&lt;/li&gt;
		&lt;li&gt;added filter-API and mod_chunked and mod_deflate for dynamic compression&lt;/li&gt;
		&lt;li&gt;added a static balancer for mod-proxy-core&lt;/li&gt;
		&lt;li&gt;added $HTTP[&amp;#8220;request-method&amp;#8221;] and $PHYSICAL[&amp;#8220;path&amp;#8221;] conditionals&lt;/li&gt;
		&lt;li&gt;fixed X-Sendfile support in mod-proxy-core&lt;/li&gt;
		&lt;li&gt;fixed crash if mtime is 0&lt;/li&gt;
		&lt;li&gt;added cmake as experimental build-system&lt;/li&gt;
		&lt;li&gt;fixed urls in &lt;span class="caps"&gt;AJP13&lt;/span&gt;-protocol of mod-proxy-core&lt;/li&gt;
		&lt;li&gt;added support for &amp;#8220;now&amp;#8221; and &amp;#8220;weeks&amp;#8221; to mod-expire&lt;/li&gt;
		&lt;li&gt;added mod-magnet&lt;/li&gt;
	&lt;/ul&gt;
</description>
      <pubDate>Sat, 03 Feb 2007 22:50:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f1eeb1c8-b5d2-485e-8734-9eae7809b376</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2007/02/03/pre-release-lighttpd-1-5-0-r1593-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/3267</trackback:ping>
    </item>
    <item>
      <title>1.5.0 works on win32 natively - again</title>
      <description>&lt;p&gt;Half a year ago I was traveling a bit and tried to get lighty to &lt;a href="http://blog.lighttpd.net/articles/2006/06/26/lighty-on-win32"&gt;compile natively on win32&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Some time has passed and I concentrated on the other stuff in the 1.5.0 tree, leaving the nasty win32 code in place for someone to pick up.  &lt;a href="http://rogojin.googlepages.com/home"&gt;Ben Harper aka rogojin&lt;/a&gt; has picked it up and released a win32 installer for the &lt;a href="http://blog.lighttpd.net/articles/2006/12/18/pre-release-lighttpd-1-5-0-r1477-tar-gz"&gt;latest pre-release&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;A simple tests shows that staticfiles are working nicely and that http-proxying with mod-proxy-core works too. Nice work, Ben.&lt;/p&gt;
</description>
      <pubDate>Tue, 19 Dec 2006 16:45:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:24397545-a06b-4f73-adfb-7c1facda44b5</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2006/12/19/1-5-0-works-on-win32-nativly-again</link>
      <category>lighttpd</category>
      <category>win32</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/2574</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1477.tar.gz</title>
      <description>&lt;h3&gt;mod-proxy-core&lt;/h3&gt;

	&lt;p&gt;Robert Jakabosky fixed and improved mod-proxy-core alot since the last pre-release:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;fixed unix-socket support&lt;/li&gt;
		&lt;li&gt;added &lt;span class="caps"&gt;AJP13&lt;/span&gt; and &lt;span class="caps"&gt;SCGI&lt;/span&gt; support&lt;/li&gt;
		&lt;li&gt;fixed some nasty bugs&lt;/li&gt;
		&lt;li&gt;added &lt;a href="http://trac.lighttpd.net/trac/wiki/Docs%3AModProxyCore"&gt;documentation&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;added &lt;a href="http://blog.lighttpd.net/articles/2006/11/29/faster-fastcgi"&gt;X-LIGHTTPD-send-temp-file&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


&lt;h3&gt;&lt;span class="caps"&gt;POSIX&lt;/span&gt; Async IO&lt;/h3&gt;

	&lt;p&gt;I added native support for &lt;span class="caps"&gt;POSIX AIO&lt;/span&gt; which might bring async io for more platforms. While Linux &lt;span class="caps"&gt;AIO&lt;/span&gt; is pretty stable the &lt;span class="caps"&gt;POSIX&lt;/span&gt; aio support is pretty experimental. Perhaps it compiles for you.&lt;/p&gt;


	&lt;p&gt;I tried to compile it on Linux and FreeBSD.&lt;/p&gt;


&lt;pre&gt;
server.network-backend = "posix-aio" 
&lt;/pre&gt;

&lt;h3&gt;Try it&lt;/h3&gt;

	&lt;p&gt;Check if it compiles and works for you.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1477.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1477.tar.gz&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Mon, 18 Dec 2006 18:11:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f29d1a7b-dd71-4e7c-a7e1-0db6e5a59407</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2006/12/18/pre-release-lighttpd-1-5-0-r1477-tar-gz</link>
      <category>lighttpd</category>
      <category>ajp13</category>
      <category>scgi</category>
      <category>aio</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/2567</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1454.tar.gz</title>
      <description>&lt;p&gt;Thanks to brave testers in #lighttpd the &lt;span class="caps"&gt;AIO&lt;/span&gt;-support is stabilizing very well and the corruptions that have been reported are fixed now.&lt;/p&gt;


	&lt;p&gt;Next to bugfixes, I implemented chunk-stealing and doubled the performance of aio for small files (100k) [16MByte/s instead of 9MByte/s].&lt;/p&gt;


	&lt;p&gt;Download: &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1454.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1454.tar.gz&lt;/a&gt;&lt;/p&gt;
</description>
      <pubDate>Wed, 15 Nov 2006 22:57:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:4d2a3dbe-dc3e-4259-a55b-a2ae12790c97</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2006/11/15/pre-release-lighttpd-1-5-0-r1454-tar-gz</link>
      <category>lighttpd</category>
      <category>aio</category>
      <category>mod_proxy_core</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/2243</trackback:ping>
    </item>
    <item>
      <title>PRE-RELEASE: lighttpd-1.5.0-r1435.tar.gz</title>
      <description>&lt;p&gt;Yeah, really.&lt;/p&gt;


	&lt;p&gt;Before you jump around and empty a barrel of beer, try to compile it first. :)&lt;/p&gt;


	&lt;p&gt;Download: &lt;a href="http://www.lighttpd.net/download/lighttpd-1.5.0-r1435.tar.gz"&gt;http://www.lighttpd.net/download/lighttpd-1.5.0-r1435.tar.gz&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally I got some time to finish the loose ends of 1.5.0. &lt;a href="http://www.mysql.com/products/enterprise/advisors.html"&gt;MySQL Network &lt;span class="caps"&gt;MAS&lt;/span&gt;&lt;/a&gt; is going to release (hopefully) next week, giving me time to work on lighty again.&lt;/p&gt;


&lt;h3&gt;What works and what doesn&amp;#8217;t ?&lt;/h3&gt;

	&lt;ul&gt;
	&lt;li&gt;mod_fastcgi, mod_cgi, mod_scgi, mod_proxy are removed

	&lt;ul&gt;
	&lt;li&gt;mod_proxy_core is the replace for the above plugins&lt;/li&gt;
		&lt;li&gt;you have to spawn fastcgi processes with spawn-fcgi&lt;/li&gt;
	&lt;/ul&gt;
&lt;/li&gt;
		&lt;li&gt;mod_cml is removed and mod_magnet isn&amp;#8217;t included &lt;strong&gt;yet&lt;/strong&gt;&lt;/li&gt;
	&lt;/ul&gt;


&lt;h3&gt;Linux &lt;span class="caps"&gt;AIO&lt;/span&gt;&lt;/h3&gt;

	&lt;p&gt;I blogged about Linux &lt;span class="caps"&gt;AIO&lt;/span&gt; before, now you can try it out. Install libaio and build lighttpd with&amp;#8212;with-linux-aio.&lt;/p&gt;


&lt;pre&gt;
server.network-backend = "linux-aio-sendfile" 
&lt;/pre&gt;

&lt;h3&gt;mod-proxy-core&lt;/h3&gt;

	&lt;p&gt;I checked that balancing and uploading works nicely work mod-proxy-core with fastcgi and http as protocols.&lt;/p&gt;


&lt;h4&gt;&lt;span class="caps"&gt;PHP&lt;/span&gt;&lt;/h4&gt;

	&lt;p&gt;Start &lt;span class="caps"&gt;PHP&lt;/span&gt; with spawn-fcgi as documented in the manual and add&lt;/p&gt;


&lt;pre&gt;
$HTTP["url"] =~ "\.php$" {
  proxy-core.balancer = "round-robin" 
  proxy-core.protocol = "fastcgi" 
  proxy-core.backends = ( "127.0.0.1:1026" )
  proxy-core.max-pool-size = 16
}
&lt;/pre&gt;

	&lt;p&gt;the to config.&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;BTW&lt;/span&gt;: we use &lt;span class="caps"&gt;FCGI&lt;/span&gt;_KEEP_CONN to keep the connection between lighttpd and the FsatCGI backend up as long as possible.&lt;/p&gt;


&lt;h4&gt;&lt;span class="caps"&gt;HTTP&lt;/span&gt; (mongrel)&lt;/h4&gt;

	&lt;p&gt;We use keep-alive and &lt;span class="caps"&gt;HTTP&lt;/span&gt;/1.1 by default. Give it a try.&lt;/p&gt;


&lt;pre&gt;
$SERVER["socket"] == ":1445" {
  proxy-core.protocol = "http" 
#  proxy-core.balancer = "round-robin" 
  proxy-core.balancer = "sqf" 
  proxy-core.backends = (
    "10.0.0.10:80", 
    "10.0.0.11:80" )
}
&lt;/pre&gt;

	&lt;p&gt;&lt;strong&gt;sqf&lt;/strong&gt; is Shortest Queue First and is the preferred balancer if you have backends which different CPUs. See the next blog-post.&lt;/p&gt;


&lt;h3&gt;mod-upload-progress&lt;/h3&gt;

	&lt;p&gt;&lt;a href="http://blog.lighttpd.net/articles/2006/08/01/mod_uploadprogress-is-back"&gt;Works.&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 14 Nov 2006 01:37:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:0d52402b-882c-4a6b-9718-a9bd33256f55</guid>
      <author>jan</author>
      <link>http://blog.lighttpd.net/articles/2006/11/14/pre-release-lighttpd-1-5-0-r1435-tar-gz</link>
      <category>lighttpd</category>
      <category>1.5.0</category>
      <trackback:ping>http://blog.lighttpd.net/articles/trackback/2225</trackback:ping>
    </item>
  </channel>
</rss>
