Lighttpd 1.4.13 for Windows

PLEASE NOTE: Native Lighttpd Windows builds are available at http://en.wlmp-project.net/
The last available Lighttpd for Windows build that I created using Cygwin was Lighttpd for Windows 1.4.17.
Updated September 29, 2009.

Lighttpd 1.4.13 for Windows is now available. Please note that the Windows port should only be used for testing and does not support all of the modules that Linux/BSD/other Unix builds do. If you decide to run this in a production environment, be aware of that risk. This file is posted “as-is”. I assume no responsibilty for anything that you do with this file. Use at your own risk! I’ve posted this file here in the hope that they will be useful. I have tested this build on Windows 2000 and XP. I am releasing this under that same license as the original author, Jan Kneschke: http://www.lighttpd.net/download/COPYING or read the ‘COPYING’ file in c:\lighttpd. Have fun!

Here is the output of ./configure, showing the enabled/disabled modules:

Plugins:

enabled:
mod_access
mod_accesslog
mod_alias
mod_auth
mod_cgi
mod_compress
mod_dirlisting
mod_evhost
mod_expire
mod_fastcgi
mod_flv_streaming
mod_indexfiles
mod_proxy
mod_redirect
mod_rewrite
mod_rrdtool
mod_scgi
mod_secdownload
mod_setenv
mod_simple_vhost
mod_ssi
mod_staticfile
mod_status
mod_trigger_b4_dl
mod_userdir
mod_usertrack
mod_webdav
disabled:
mod_cml
mod_magnet
mod_mysql_vhost

Features:

enabled:
auth-crypt
compress-bzip2
compress-deflate
compress-gzip
large-files
regex-conditionals
disabled:
auth-ldap
network-ipv6
network-openssl
stat-cache-fam
storage-gdbm
storage-memcache
webdav-properties

Download Lighttpd 1.4.13 for Windows Here
and
Please Digg this post to spread the word about Lighttpd for Windows

Please read the README.txt during or after installation.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Reddit Post to StumbleUpon

Did you enjoy this article? Please subscribe to my feed to receive FREE updates via RSS or Email.

{ 55 comments }

1 Dimi October 20, 2006 at 06:30:30 PM

fastcgi and python don’t work again the message is
2006-10-21 02:26:18: (mod_fastcgi.c.3264) fcgi: got a FDEVENT_ERR. Don’t know why.

i can’t test mod_compress because i don’t have the two libs from CYGWIN where can i download them ??

2 JuanS October 21, 2006 at 12:17:55 AM

Why fcgi doesn’t work in windows?? i dont get errors just blank screen on my browser….. normal cgi works great

3 Dimi October 21, 2006 at 03:14:31 AM

read log for errors i got the error from there

4 Kev October 21, 2006 at 10:14:07 AM

Dimi: Like I stated in the announcement, some things simply do not work on Windows. Which two libs are missing? JuanS: FastCGI does not work, please read the post and comments for lighttpd 1.4.11 regarding this issue, especially this comment that I made.

5 Dimi October 21, 2006 at 03:37:04 PM

as start again (as 1.4.11) no cygccript-0.dll the two other libs are cigbz2.dll and ciggzip.dll . I am not sure for the names of the libs. As I know mod_compress don’t work. Am I right? CGI works perfect I have a python wiki and trac system running on lighttpd.

6 Robert October 25, 2006 at 10:08:10 AM

Does it have to be installed on “C” still?

7 Kev October 26, 2006 at 10:28:13 AM

Robert: yes, c:\lighttpd to be specific.

8 Bertil Weidenmueller October 27, 2006 at 02:12:49 AM

I like Lighttpd for windows. I am interested how I can get Lighttpd with
Jetty 6.0.1 to work. May be somebody can guide me.
Good work of Kevin Worthington. Please continue !
Bertil

9 Kev October 27, 2006 at 04:43:49 PM

Dimi: These files might help you out:

|cygbz2-1.dll|
|cygbz21.0.dll|
|cygcrypt-0.dll|

Download each file and put them in C:\lighttpd\sbin

10 Ugo November 1, 2006 at 01:33:20 PM

Hi,
I installed lighttpd on a winxp pro system and everything is fine when browsing from the same system.
When trying to browse from another sys in the local network the recently installed firewall blocks every input and it looks like there is no way to open the ports to let local systems in.
As I have the same firewall installed on a system where apache is installed and works with no problems, I am wondering if you know any incompatibility between lighthttpd and firewalls.
Of course I have already set the firewall to let lighttpd to serve pages.
I would like to check if my open source http://phpcamaleo.org is fully compatible so that I can state it in the compatibility page and make, hopefully, some additional users happy =)

Feel free to get in touch for any further info you may need,
Best regards

11 Stefan November 2, 2006 at 07:28:34 AM

Hey, thanks for this Windows release! I’m having one problem though. I can’t upload any files. I seems the temp folder isn’t set to right location:

2006-11-02 13:16:01: (connections.c.1069) denying upload as opening to temp-file for upload failed: /var/tmp/lighttpd-upload-cmYc2s No such file or directory

I seem to remember that a previous version had the same error, and it is caused by larger file uploads. (Smaller ones are kept in system memory.)

Since I can’t find any temp folder directive in the config file is there any other way to fix this?

Thanks in advance!

12 Italo Maia November 3, 2006 at 08:22:29 PM

Lighttpd installs itself in the c drive by default, but, some people(me) have windows intalled in other drive. How do I solve that?

13 David November 4, 2006 at 08:46:34 AM

Hey Kevin, thanks for the updated version, it’s good to see development is still continuing. It sure is a nice, fast server, it seems this version may be even faster than previous. I have it running my ruby app. against a SQLite database and coupled with SCGI, the result is very fast and smooth.
Thanks again.

14 Kev November 4, 2006 at 09:39:08 AM

Ugo: I do not know of any specific incompatibilities between lighttpd and firewalls.

Stefan: that is something that I would need to fix. I think I did account for that in the 1.4.11 version. If you revert to that version for now, it should handle temp properly. Look for a new version in the next week or so.

Italo: I built a version that installs to the E:\ drive, but it was version 1.4.10. If you’d like, you can download it here.
Also, I haven’t tested this myself, but others claim that it works: http://forum.lighttpd.net/topic/197#566

David: You’re welcome. Feel free to send a tip, if you would like.

15 Richard Kellock November 5, 2006 at 01:12:48 PM

Hi,

Just installed “lighttpd-1.4.13-win-setup.exe” (clean install on a WinXP Prof. SP2 PC that’s never had lighttpd installed on it before), copied “lighttpd.conf.orig” to “lighttpd.conf”, opened it and enabled “mod_compress” by un-hashing the line in the conf file. When I click the “Start lighttpd” shortcut on the desktop I get this every time…

2006-11-05 19:45:58: (plugin.c.165) dlopen() failed for: c:/lighttpd/lib/mod_compress.dll No such file or directory 2006-11-05 19:45:58: (server.c.577) loading plugins finally failed

I have “C:\lighttpd\lib\mod_compress.dll”. If I re-hash the line in the conf file the server starts fine.

Any ideas about this?

Thanks,

R

16 Richard Kellock November 5, 2006 at 03:06:52 PM

Ok, I figured out why it happens…if I use the command line :-

c:\lighttpd\sbin\lighttpd.exe -m c:\lighttpd\lib -f c:\lighttpd\etc\lighttpd.conf

I get the following :-

(plugin.c.165) dlopen() failed for: c:\lighttpd\lib/mod_compress.dll No such file or directory
(server.c.577) loading plugins finally failed

As you can see if lighttpd didn’t want to add the “/” before the “mod_compress.dll” then all should work fine. So a command line like this should be allowed :-

c:\lighttpd\sbin\lighttpd.exe -m c:\lighttpd\lib\ -f c:\lighttpd\etc\lighttpd.conf

but we’d need lighttpd re-built to not add the “/”.

I hope I’ve explained it well enough….have I?

17 Ken Walker November 17, 2006 at 08:24:54 AM

Kevin, I’m getting a virus alert while doing the install for either .13 or .11. I’ve sent a screenshot, but I wanted to warn you and your users about this.

VirusScan finds the PrcViewer virus in one of the tmp files during install and deletes it on the spot.

18 Kev November 17, 2006 at 09:25:58 AM

Ken: I think this is a false-positive. There are not any viruses in my install packages. Can you please post the virus scanner and version, just so others are aware that this might happen? (I am guessing it is McAfee, based on the screenshot that you emailed me.)

19 Gobr November 18, 2006 at 06:14:28 PM

Hi!

I use a Windows version in Brazilian-Portuguese, the program installs automatically in “C:/Arquivos de Programas/lighttpd/” but when I run the server cygwin send me a error, I want to install it in another place like “C:/www/” you can post other version of installer.

20 Kev November 19, 2006 at 12:14:38 PM

Gobr: my version installs into c:\lighttpd. The first version that I released installed into c:\Program Files\lighttpd.
I normally do not make custom installers, but if you really must have a version that installs into c:\www and want to give me a donation to do it, I will consider it.

21 Henry Paradiz November 23, 2006 at 11:54:00 PM

Is there any status on a possible release for Vista?

At the moment the one I’m using in XP SP2 fails to load properly in Vista.

22 Kev November 24, 2006 at 03:09:31 PM

Henry: I do not have a copy of Vista to build it nor test it with.

23 BoxedUp November 29, 2006 at 01:52:35 PM

I tried your latest port of Lighttpd Kev but it doesnt work, nothing happens and the error log file says error,

at the moment im using an old version of your port :(

24 BoxedUp November 29, 2006 at 02:24:12 PM

error file, 2006-11-29 19:20:46: (log.c.75) server started

25 Kev November 29, 2006 at 08:46:37 PM

BoxedUp: did you completely move the old install to another directory or back it up first. The latest version uses a newer version of cygwin, so the cygwin1.dll might be causing a conflict. Remove all cygwin1.dll files from your system, and only use the one supplied with the latest lighttpd.

Comments on this entry are closed.

{ 1 trackback }

Previous post:

Next post: