Lighttpd 1.4.13 for Windows
If you're new here, you may want to subscribe to my RSS feed.
Thanks for visiting!
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.



October 20th, 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 ??
October 21st, 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
October 21st, 2006 at 03:14:31 AM
read log for errors i got the error from there
October 21st, 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.
October 21st, 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.
October 25th, 2006 at 10:08:10 AM
Does it have to be installed on “C” still?
October 26th, 2006 at 10:28:13 AM
Robert: yes, c:\lighttpd to be specific.
October 27th, 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
October 27th, 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
November 1st, 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
November 2nd, 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!
November 3rd, 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?
November 4th, 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.
November 4th, 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.
November 5th, 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
November 5th, 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?
November 17th, 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.
November 17th, 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.)
November 18th, 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.
November 19th, 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.
November 23rd, 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.
November 24th, 2006 at 03:09:31 PM
Henry: I do not have a copy of Vista to build it nor test it with.
November 29th, 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
November 29th, 2006 at 02:24:12 PM
error file, 2006-11-29 19:20:46: (log.c.75) server started
November 29th, 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.
December 1st, 2006 at 02:31:24 AM
I installed your latest version on a fresh install of Windows XP.
I installed your latest version…
renamed the lighttpd.conf.orig to lighttpd.conf
I attempt to run…
It says Starting lighttpd….
(I have Windows task Manager running before I open lighttpd)
lighttpd.exe appears for 2 to 3 seconds then disappears
I have checked the error log file but nothing’s there apart from …server started
December 1st, 2006 at 11:32:49 AM
BoxedUp: try opening a command prompt, changing to the c:\lighttpd\sbin directory and running:
lighttpd.exe -f ..\etc\lighttpd.conf
and see what errors come up. Then try to work out the error from there. You most likely have an error in your lighttpd.conf file.
December 1st, 2006 at 04:54:42 PM
Hey Kev:
It works now, i had to close down the server and restart it, when i installed the latest version, Thank You
Also, how do I get PHP and MySQL running? I’ve tried 2 tutorials from other sites but they didnt’ work, do you have a step by step?
December 1st, 2006 at 06:12:58 PM
BoxedUp: Josh Dick has a very good tutorial here.
December 1st, 2006 at 06:38:40 PM
I get this error following his tutorial, WARNING: unknown config-key: cgi.assign
lighttpd started
.
.
.
(i made a file with to see if anything would happen and I get 403 - Forbidden
December 1st, 2006 at 06:47:32 PM
edit: i made 1 mistake, fixed now thanks
December 1st, 2006 at 09:44:32 PM
BoxedUp: It sounds like you forgot to uncomment the mod_cgi module.
December 3rd, 2006 at 02:29:22 AM
[...] 1.4.13 [...]
December 3rd, 2006 at 01:22:44 PM
A plain zip file without installer would be appreciated.
December 4th, 2006 at 03:28:52 PM
This is an other windows release of lighty:
http://wlmp.dtech.hu/downloads/pub/LightTPD/LightTPD-1.4.13-Win32.exe
December 9th, 2006 at 08:44:10 PM
I can’t get clean binary output from mod_cgi. Anything I output seems to be filtered as though it’s going through a stream opened in text mode.
Is it perhaps line 994 of mod_cgi.c, where O_RDONLY should be combined with O_BINARY?
ps. Kevin- I emailed this question straight to you, but here it is again for all to see.
December 9th, 2006 at 10:01:05 PM
Ben: this might be a better question for the lighttpd forum
December 21st, 2006 at 01:52:24 PM
I am trying to launch this on Windows Vista RTM, but as always it just doesn’t work…
Any ideas why is it not working?.. I was trying to find some articles on the net, but as I can see no-one writes about it…
And I can’t find any support here or I just don’t see it…
December 21st, 2006 at 01:57:31 PM
I am trying to launch this on Windows Vista RTM, but as always it just doesn’t work…
Any ideas why is it not working?.. I was trying to find some articles on the net, but as I can see no-one writes about it…
December 21st, 2006 at 03:14:15 PM
David: please view the above comment.
December 25th, 2006 at 09:11:46 AM
Just download one of RTM version and that’s all… Still you won’t be able to crack it.
I think I am moving back to XP or changing everything to Mac…
January 11th, 2007 at 08:19:01 AM
I have installed 1.4.13
when I tried to use mod_auth, but failed
2007-01-11 21:09:26: (plugin.c.165) dlopen() failed for: c:/lighttpd/lib/mod_auth.dll No such file or directory
2007-01-11 21:09:26: (server.c.577) loading plugins finally failed
Starting lighttpd
.
.
.
I checked c:/lighttpd/lib, mod_auth.dll lie there. so I confused:(
January 15th, 2007 at 07:45:03 AM
Well,since fastcgi dont work i have tried the cgi module,the lighttpd loaded ok,but i always get a blank page.
and appear that in log page
2007-01-15 10:40:38: (mod_cgi.c.1194) cgi died ?
2007-01-15 10:40:39: (mod_cgi.c.961) CGI failed: Permission denied c:/php
mod_cgi.c.964: aborted
2007-01-15 10:40:40: (mod_cgi.c.1194) cgi died ?
yes the register_globals=on in php.ini
January 15th, 2007 at 07:53:43 AM
forget solved the blank page
with “.php” => “c:/lighttpd/php/php-cgi.exe”
January 16th, 2007 at 09:02:43 AM
Hello first I would like to say thank you! This works greatly!
For all who had also problems with the upload (like me), just add following to the lighttpd.conf:
server.upload-dirs = ( "c:/lighttpd/tmp" )Now lighty will save the uploads temporarly in “c:/lighttpd/tmp”.
Have a nice Day!
January 25th, 2007 at 03:15:02 PM
Anyone get mod_secdownload working?
March 3rd, 2007 at 06:23:29 AM
why isn’t packed also?
March 3rd, 2007 at 06:27:47 AM
why PHP isn’t packed also?
March 3rd, 2007 at 01:08:40 PM
When I click the “Start Lighttpd” link, it says “Starting lighttpd” and then after that, it is not running.
I have no other webserver running, and it did work yesterday, also after 2 reboots. Any ideas ?
March 4th, 2007 at 11:59:12 AM
walid: There are plenty of places to get a working PHP, so I have decided not to package it also. I usually use the PHP provided as part of XAMPP lite for Windows since it is quick and easy to get running. Jasper: See a comment that I made above in this post for a solution.
March 11th, 2007 at 03:28:03 AM
WLMP Project - Webserver-Package:
http://wlmp.dtech.hu/down_wlmp.php?lang=en
Contents of package:
LightTPD for Windows, MySQL , PHP, MiniPerl, OpenSSL, phpMyAdmin
April 8th, 2007 at 01:08:12 AM
Hi, I’m runnning 1.4.13 on Windows XP Pro. I noticed shortcuts (aka symbolic links on linux) don’t work in the windows version with virtual hosts.
Example: I have a directory english.domain.com and a shortcut (sym link) to espanol.domain.com, then the symlink will not be recognized and lighttpd goes to the default webpage.
Can that be fixed or is that a WIndows specific problem that cannot be overcome? it works fine on the Redhat production server.
April 8th, 2007 at 01:20:00 AM
forgot to mention that I also run PHP 5.2.1 as CGI, is that has anything to do with it…
April 8th, 2007 at 09:56:54 AM
Zavier: I think that is a Windows specific problem. Shortcuts on Windows do not work the same as symlinks on Linux in my experience.
April 19th, 2007 at 05:26:51 AM
Hello it ’s the first time that I use lighttpd. I have installed lighttpd-1.4.13-win-setup.exe. I make like written by . I open mozilla firefox on http://127.0.0.1:80, http://127.0.0.1:81, http://127.0.0.1:8080, http://127.0.0.1:3000, http://127.0.0.1:3001 but it does nothing.
April 19th, 2007 at 08:03:57 PM
Alessandro: check your firewall. It is probably blocking lighttpd.