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
5
votes
1 answer

Make Lighttpd return 404 for unused subdomains?

I have some domains set up on my Ubuntu server that uses Lighttpd. I have wildcard domains and I want the unused subdomains to return 404 instead of 200 and displaying the regular domain. This problem was brought to my attention because some less…
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,714
  • 5
  • 26
  • 41
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
  • 563
  • 3
  • 9
  • 21
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

Proxy URL to different port via Lighttpd

I cannot seem to proxy a URL to another port on same hostname. I have user interface (Angular 5) running on somehost:8080 and the rest of the web application on somehost.com (port 80). I'd like to proxy http://somehost.com/xxx to…
Michael Niño
  • 101
  • 1
  • 6
4
votes
2 answers

Docker compose volumes invalid characters

Unable to start container with docker-compose up Docker version 1.9.1, build a34a1d5 Dockerfile FROM ubuntu # File Author / Maintainer MAINTAINER Parzee info@parzee.com # Install Components. # Update the repository ENV LANG en_US.UTF-8 ENV…
gogasca
  • 343
  • 2
  • 15
4
votes
1 answer

SSL: couldn't read X509 certificate from pem file lighttpd

I have installed ssl key in the past on my lighttpd and I've documented the steps I did to make sure that I can replicate it in the future. Well, I haven't touched the server for a while and I need to create a new web server with lighttpd that will…
Le Dude
  • 381
  • 2
  • 6
  • 14
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
3 answers

Lighttpd static file server 403 forbidden error

I installed lighttpd on Debian Jessie for serving static files, I have a USB drive mounted at /media/storage, with /media/storage/www as my document root and my lighttpd.conf looks like this: server.modules = ( "mod_access", "mod_alias", …
Superpelican
  • 53
  • 1
  • 1
  • 3
1 2
3
39 40