lighttpd 1.4.x https://www.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

154 lines
3.5 KiB

  1. ========
  2. lighttpd
  3. ========
  4. -------------
  5. a light httpd
  6. -------------
  7. :abstract:
  8. lighttpd a secure, fast, compliant and very flexible web-server
  9. which has been optimized for high-performance environments. It has a very
  10. low memory footprint compared to other webservers and takes care of cpu-load.
  11. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression,
  12. URL-Rewriting and many more) make lighttpd the perfect webserver-software
  13. for every server that is suffering load problems.
  14. :documentation:
  15. https://redmine.lighttpd.net/projects/lighttpd/wiki/
  16. the naming
  17. ----------
  18. lighttpd is a __httpd__ which is
  19. - fast as __light__ning and
  20. - __light__ when it comes to memory consumption and system requirements
  21. Features
  22. --------
  23. Network
  24. ```````
  25. - IPv4, IPv6
  26. Protocols
  27. `````````
  28. - HTTP/1.0 (http://www.ietf.org/rfc/rfc1945.txt)
  29. - HTTP/1.1 (http://www.ietf.org/rfc/rfc2616.txt)
  30. - HTTPS (provided by openssl)
  31. - CGI/1.1 (http://CGI-Spec.Golux.Com/)
  32. - FastCGI (http://www.fastcgi.com/devkit/doc/fcgi-spec.html)
  33. Advanced Features
  34. `````````````````
  35. - load-balanced FastCGI
  36. (one webserver distributes requests to multiple PHP-servers via FastCGI)
  37. - custom error pages (for Response-Code 400-599)
  38. - virtual hosts
  39. - directory listings
  40. - streaming CGI and FastCGI
  41. - URL-Rewriting
  42. - HTTP-Redirection
  43. - output-compression with transparent caching
  44. FastCGI-Support
  45. ```````````````
  46. - parses the Response-header and completes the HTTP-header accordingly
  47. - Keep-Alive handling based on Content-Length header
  48. PHP-Support
  49. ```````````
  50. - same speed as or faster than apache + mod_php4
  51. - handles various PHP bugs in the FastCGI SAPI
  52. - includes a utility to spawn FastCGI processes (necessary for PHP 4.3.x)
  53. Security features
  54. `````````````````
  55. - chroot(), set UID, set GID
  56. - protecting docroot
  57. HTTP/1.1 features
  58. `````````````````
  59. - Ranges (start-end, start-, -end, multiple ranges)
  60. - HTTP/1.0 Keep-Alive + HTTP/1.1 persistent Connections
  61. - methods: GET, HEAD, POST
  62. - Last-Modified + If-Modified handling
  63. - sends Content-Length if possible
  64. - sends Transfer-Encoding: chunk, if Content-Length is not possible
  65. - sends Content-Type
  66. - on-the-fly output compression (deflate, gzip)
  67. - authentication: basic and digest
  68. (http://www.ietf.org/rfc/rfc2617.txt)
  69. HTTP/1.1 compliance
  70. ```````````````````
  71. - Sends 206 for Range Requests
  72. - Sends 304 for If-Modified Requests
  73. - Sends 400 for missing Host on HTTP/1.1 requests
  74. - Sends 400 for broken Request-Line
  75. - Sends 411 for missing Content-Length on POST requests
  76. - Sends 416 for "out-of-range" on Range: Header
  77. - Sends 501 for request-method != (GET|POST|HEAD)
  78. - Sends 505 for protocol != HTTP/1.0 or HTTP/1.1
  79. - Sends Date: on every requests
  80. Intended Audience
  81. -----------------
  82. - Ad-Server Front-Ends ("Banner-Schleuder")
  83. - delivering small files rapidly
  84. - php-servers under high load
  85. (load-balancing the php-request over multiple PHP-servers)
  86. Works with
  87. ----------
  88. It has been tested to work with
  89. - IE 6.0
  90. - Mozilla 1.x
  91. - Konqueror 3.1
  92. (for Keep-Alive/Persistent Connections, Accept-Encoding for PHP + gzip)
  93. - wget
  94. (for Resuming)
  95. - acrobat plugin
  96. (for multiple ranges)
  97. Works on
  98. --------
  99. lighttpd has been verified to compile and work on
  100. - Linux
  101. - FreeBSD
  102. - NetBSD
  103. - OpenBSD
  104. - Solaris 8 + 9
  105. - SGI IRIX 6.5
  106. - Windows (when compiled under cygwin)
  107. (and will likely compile and run on most unix-like systems with C99 compiler)
  108. -----------------
  109. Starting lighttpd
  110. -----------------
  111. As daemon in the background: ::
  112. $ lighttpd -f <configfile>
  113. or without detaching from the console: ::
  114. $ lighttpd -D -f <configfile>