Lighttpd 1.4.13 for Windows

If you're new here, you may want to subscribe to my RSS feed.
Follow me on Twitter for Blog updates, my new software releases, and other announcements.
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.

Share, Bookmark, and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • Ma.gnolia
  • MySpace
  • NewsVine
  • Pownce
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz

This entry is filed under Computers, General, Microsoft, lighttpd. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Like this post? Subscribe to the Full RSS Feed!

 

56 Responses to “Lighttpd 1.4.13 for Windows”

  1. Dimi Says:

    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 Says:

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

  3. Dimi Says:

    read log for errors i got the error from there

  4. Kev Says:

    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 Says:

    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 Says:

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

  7. Kev Says:

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

  8. Bertil Weidenmueller Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

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

  23. BoxedUp Says:

    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 Says:

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

  25. Kev Says:

    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.

  26. BoxedUp Says:

    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

  27. Kev Says:

    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.

  28. BoxedUp Says:

    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?

  29. Kev Says:

    BoxedUp: Josh Dick has a very good tutorial here.

  30. BoxedUp Says:

    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

  31. BoxedUp Says:

    edit: i made 1 mistake, fixed now thanks

  32. Kev Says:

    BoxedUp: It sounds like you forgot to uncomment the mod_cgi module.

  33. new start » Blog Archive » windows lightttpd php5 Says:

    [...] 1.4.13 [...]

  34. spud Says:

    A plain zip file without installer would be appreciated.

  35. elise Says:

    This is an other windows release of lighty:
    http://wlmp.dtech.hu/downloads/pub/LightTPD/LightTPD-1.4.13-Win32.exe

  36. Ben Harper Says:

    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.

  37. Kev Says:

    Ben: this might be a better question for the lighttpd forum

  38. david Says:

    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…

  39. david Says:

    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…

  40. Kev Says:

    David: please view the above comment.

  41. david Says:

    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…

  42. ibear Says:

    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:(

  43. raderack Says:

    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

  44. raderack Says:

    forget solved the blank page
    with “.php” => “c:/lighttpd/php/php-cgi.exe”

  45. Black Says:

    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!

  46. techboystoys Says:

    Anyone get mod_secdownload working?

  47. walid Says:

    why isn’t packed also?

  48. walid Says:

    why PHP isn’t packed also?

  49. Jasper Says:

    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 ?

  50. Kev Says:

    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.

  51. elise Says:

    WLMP Project - Webserver-Package:
    http://wlmp.dtech.hu/down_wlmp.php?lang=en

    Contents of package:
    LightTPD for Windows, MySQL , PHP, MiniPerl, OpenSSL, phpMyAdmin

  52. Zavier Sheran Says:

    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.

  53. Zavier Sheran Says:

    forgot to mention that I also run PHP 5.2.1 as CGI, is that has anything to do with it…

  54. Kev Says:

    Zavier: I think that is a Windows specific problem. Shortcuts on Windows do not work the same as symlinks on Linux in my experience.

  55. Alessandro Says:

    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.

  56. Kev Says:

    Alessandro: check your firewall. It is probably blocking lighttpd.

  • Green Hosting $5.95/mo.

    • Green Hosting
    • Dreamhost Web Hosting
  • Search This Site

  • TwitterCounter

    TwitterCounter for @
  • Twitter Updates

  • Deals


  • Recent Comments

  • Categories

  • Archives

  • Akismet Blocked:

  •