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

587 questions
5
votes
1 answer

Lighttpd proxy redirect by port

I'm really just starting out with lighttpd and I'm not sure how to configure this exactly. I'm wanting to take traffic and redirect to another server say "http://localhost/url_a/" and redirect the request and responses from that to…
daelious
  • 53
  • 1
  • 1
  • 4
5
votes
1 answer

lighttpd - use different document-root for diff url

To me this seem logical, but it doesn't seem to work. $HTTP["host"] =~ "(^|\.)hd.domain\.com$" { server.document-root = "/domain_site/" $HTTP["url"] =~ "^/aa/" { server.document-root = "/domain_aa_site/" } } When I go to…
Syntax
  • 225
  • 3
  • 9
5
votes
3 answers

Bash-Scripting - Munin Plugin don't work

i have written a munin-plugin to count the http-statuscodes of lighttpd. The script: #!/bin/bash ###################################### # Munin-Script: Lighttpd-Statuscodes # ###################################### ##Config # path to lighttpd…
Arny80Hexa
  • 139
  • 1
  • 4
  • 14
5
votes
6 answers

Lighttpd cannot create php-fastcgi.socket

I have installed FastCGI using yum, and edited my lighttpd.conf, but when restarting the server I receive this error. 2009-06-24 12:44:43: (log.c.97) server started 2009-06-24 12:44:43: (mod_fastcgi.c.924) bind failed for:…
James
  • 171
  • 1
  • 3
  • 15
5
votes
3 answers

Lighttpd not cleanly restarting (address already in use)

When doing a dist-upgrade recently, my lighttpd-1.4.19 install on Ubuntu 8.0.4 has begun failing to restart or reload properly with the /etc/init.d/lighttpd restart command. ~$ sudo /etc/init.d/lighttpd restart * Stopping web server lighttpd …
Ecton
  • 153
  • 1
  • 2
  • 5
5
votes
2 answers

Can I set multiple SSL certificates for virtual hosts with Lighttpd?

Can I set multiple SSL certificates for virtual hosts using Lighttpd web server? I have several webshops on my server (each webshop has its own domain) and I need to setup a SSL certificate for each of them. thanks Patrick
aneuryzm
  • 1,614
  • 5
  • 25
  • 40
5
votes
2 answers

Rewrite URL before passing to proxy Lighttpd

I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in apache, but I can't for the life of me figure…
futureelite7
  • 197
  • 1
  • 3
  • 8
5
votes
6 answers

Apache, nginx, or lighttpd?

I am going to be live blogging from an event and expect huge spikes in traffic. I am currently using apache with modphp and it died last year under heavy traffic and I don't want it to happen again. I am thinking of setting up a separate VPS for…
vk123
5
votes
1 answer

How to make H264 (.mp4) streaming module to work with lighttpd 1.5

H264 is not working with lighttpd 1.5, but it's ok with 1.4 Any suggestions?
Kirzilla
  • 543
  • 3
  • 8
  • 20
5
votes
1 answer

Where to set "PHP_FCGI_MAX_REQUESTS" (lighttpd)

I want to setup the max requests to keep my system RAM from filling up when there is a memory leak. But I dont know where it is.
Kuku
4
votes
1 answer

missing mod_ssl.so for lighttpd

I am trying to set up ssl (i.e. https) for my lighttpd web server running Debian 8 (Jessie). The relevant lines in lighttpd.conf are: server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_ssi", …
steffen
  • 157
  • 1
  • 2
  • 8
4
votes
2 answers

Better webserver performance for Python Django: Apache mod_wsgi or Lighttpd fastcgi

I am currently running a high-traffic python/django website using Apache and mod_wsgi. I'm hoping that there's a faster webserver configuration out there, and I've heard a fair number of recommendations for lighttpd and fastcgi. Is this setup faster…
BrainCore
  • 161
  • 1
  • 3
4
votes
1 answer

Lighttpd won't start when fastcgi.debug directive is used

I'm running lighttpd/1.4.28 (ssl) on Ubuntu 12.04 LTS. Everything's working, and I'm trying to do some performance tuning. I'd like to enable debug mode for the fastcgi module, however when I add the directive fastcgi.debug to my conf file,…
Alan
  • 541
  • 1
  • 6
  • 20
4
votes
4 answers

how to disable unencrypted traffic(port 80) on lighttpd

We want to run an SSL only lighttpd process. Which configuration option should be used to turn off port 80 with its unencrypted traffic ? Lighttpd documents only provide a "redirection" to https traffic, but we want a complete silence on port 80. We…
hayalci
  • 3,611
  • 3
  • 25
  • 37
4
votes
1 answer

Lighttpd, Python, MySQLdb Python Module and Permissions

After restarting a lighttpd server recently I haven't been able to get it up and running again. I am running a python built API service on it, and am relying on the web.py module to run the application. I am having difficulty getting the MySQLdb…
breezy
  • 41
  • 2
1 2
3
39 40