Questions tagged [lighttpd]

Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments

Lighttpd (pronounced "lighty") is an open source web server optimised for speed critical environments, which is standards compliant. It attempts to be lower memory footprint, and more CPU efficient than other web servers, and is often simpler to configure. Initially it was targetted at static content, but now it is widely used for both static content and hosting CGI, PHP, Ruby, Python etc code.

More information is available on Wikipedia

596 questions
3
votes
1 answer

How do I set up lighttpd for x.509 client certificate authentication

So far I've had HTTPS working for a long time, so I don't think there are any trouble with the server certificates. Now I tried to add this to lighttpd.conf: ssl.engine = "enable" ssl.cipher-list =…
Steinbitglis
  • 183
  • 1
  • 8
3
votes
2 answers

Configuring lighttpd for many lightweight concurrent Keep-Alive http connections

I am using lighttpd as a front-end proxy to my custom HTTP based application server. I need to configure lighttpd for a large number (let's say around 5000) simultaneous http connections which have a large timeout and KeepAlive setting. Each…
Krystian Cybulski
  • 495
  • 3
  • 6
  • 13
3
votes
1 answer

Run a node.js app with lighttpd

I'm currently hosting some websites on my server, and I use Lighttpd for this. Now I'm currently developing a web application using Node.js and I'd like to be able to create vhosts which would point to the Node.js application. Let's say, I'd like…
Tommy B.
  • 1,413
  • 2
  • 14
  • 14
3
votes
1 answer

Lighttpd mod_auth authentication difficulties on Safari (iPad and iPhone)

I've set up lighttpd on my embedded device and configured the modules in the lighttpd.conf When accessing the web pages from Chrome or Firefox from the PC I get asked for the username and password and after I supplied them the page loads. When I do…
trenki
  • 131
  • 3
3
votes
5 answers

Lighttpd's memory leaks, a myth or true? If true, does it apply to static content?

[First, please read it all before marking it as being subjective, or irrelevant as of ServerFault's community guidelines.] EDIT: I should have mentioned that the site I am building serves video files. It's a video sharing site. Coming to the point,…
user88753
3
votes
1 answer

Are there any way to check client certificate issuer in lighttpd?

I have to check client certificate issuer in the Lighttpd but can't find any variable for that. Here is part of my config, related to ssl_mod: $SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.pemfile =…
Alexander Artemenko
  • 1,393
  • 3
  • 13
  • 13
3
votes
2 answers

Lighttpd proxy module - use with hostname

I have to proxy a site which is hosted on an external webspace through my lighty on example.org. My config so far: $HTTP["url"] =~ "^/webmail" { proxy.server = ("/webmail/" => ( # this entry should link to example2.org ("host"…
gorootde
  • 226
  • 1
  • 3
  • 9
3
votes
2 answers

Is lighttpd recommended for a production webserver?

I've been using lighttpd as a development webserver for an scgi based webapp I'm building. I was very impressed with its ease of configuration and automatic load balancing between scgi processes. Getting mod_scgi to work in Apache was a nightmare. I…
David
  • 588
  • 2
  • 6
  • 14
3
votes
1 answer

optimize nginx for large file downloading

Hey, I'm wondering what are some general options I should look into for optimizing an nginx server for large file downloading (typically 100mb to 6gb). I just migrated from lighttpd and I'm noticing that during downloads, speeds fluctuate a lot very…
3
votes
3 answers

Using logical operators in lighttpd.conf

I have two sub-domains which I want to redirect to the same directory: $HTTP["host"] =~ "sub1\.example\.com$" { server.document-root = "/home/adam/html/sub_domain" } $HTTP["host"] =~ "sub2\.example\.com$" { server.document-root =…
Adam Matan
  • 13,194
  • 19
  • 55
  • 75
3
votes
4 answers

Server setup for image storage

I need to store 25M Photos in 4 sizes = total 100M Files, the filesize will vary between 3Kb and 200 kb per file and the used storage at beginning is about 14-15 TB. Our goal is to have the data on 2-4 Server available and to serve them with a local…
Nenad
  • 375
  • 1
  • 5
  • 14
3
votes
2 answers

Another benefit of Lighttpd in front of Apache

I have read in a site that another benefit of having Lighttpd in front of Apache is lower number of child processes. Lighttpd will handle keep-alive and client requests while child processes of Apache gets to serve dynamic pages faster because of…
3
votes
1 answer

Lighttpd big uploads memory consumption

Consider the following scenario: I am running lighttpd-1.4.19 and I am handling big uploads (hundreds of MBs but less than 1GB) through it. Server is running on Ubuntu 8.04 LTS. Files are temporarily written to /var/tmp. PHP5 is handling the…
lpfavreau
  • 439
  • 2
  • 8
  • 19
3
votes
2 answers

Lighttpd getting 403 forbidden page

i have newly installed lighttpd in ubuntu 9.10 first it showed the detault page and i changed the permission of /var/www/ directory to 777 and now its saying 403 forbidden my php-cgi -v PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cgi-fcgi)…
Ramesh
3
votes
1 answer

How to configure fastcgi with lighttpd

I am trying to configure FastCgi with ligttpd server. I was able to run vanilla lighttpd like this: ./lighttpd -f lighttpd.conf And then I compile/install the source of fastcgi, and I add the following in my lighttpd.conf: fastcgi.server = (…
silverburgh