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
3 answers

lighttpd config and rewriting/disabling attempts to access favicon.ico

I've got lighttpd and apache working together on an app I'm building. lighty is serving out static content. However, each time a static asset is requested, I see a not found: favicon.ico message in the logs. I have added the following url…
Kyle
  • 141
  • 1
  • 7
3
votes
1 answer

Lighttpd Subdomains

$HTTP["host"] == "example.com" { server.document-root = "/var/www/vhosts/example.com/httpdocs/development/api" server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename =…
James
  • 171
  • 1
  • 3
  • 15
3
votes
2 answers

404 when trying to shorten URLs for MediaWiki with Lighttpd

I'm absolutely new at this, so please bear with me. I installed MediaWiki on Lighttpd with no problems, except that when I try to follow up redwerks instructions on how to shorten the urls for MediaWiki on Lighttpd, I always get a very frustrating…
3
votes
0 answers

Lighttpd Proxy -> Apache SVN mod_dav_svn - Stuck via command line but works in browser

I have a confusing problem. I have installed a long time ago Apache 2.4 with mod_dav_svn to be able to access my repos via https urls. It all works fine with Apache only. Now i switched to lighttpd and i've managed the access via https now with a…
3
votes
1 answer

Dual stack Lighttpd without repeating the SSL configuration

I'm trying out Lighttpd and I've stumbled across a small but very annoying problem; the IPv6 configuration is a total mess and requires you to duplicate your SSL settings two times; see for yourself : # listen to ipv4 server.bind = "0.0.0.0"…
user186340
3
votes
1 answer

Wrong IP with lighttpd reverse proxy

I use a lighttpd reverse proxy to serve django with gunicorn. Now this config worked: proxy.server = ("" => ( "" => ( "host" => "127.0.0.1", "port" => 8000, ))) Now i moved the gunicorn into a container and use: proxy.server = ("" => ( ""…
allo
  • 1,620
  • 2
  • 22
  • 39
3
votes
1 answer

SSL for a single Lighttpd Vhost

I've inherited a lighttpd server that I have really very little knowledge of how to manage. I'm currently trying to install an SSL for one domain on that server. I've been looking at this bit in the conf: $SERVER["socket'] == ":443" { ssl.engine…
the.s.brom
  • 41
  • 5
3
votes
0 answers

Q: lighttpd uses 2GB ram while idle for private page

I'm running a server with lighttpd installed. It runs php5-fpm and servering an owncloud server. Ubuntu Server 14.04 lighttpd/1.4.33 (ssl) (Jan 28 2014 17:26:04) - a light and fast webserver PHP 5.5.9-1ubuntu4.5 (fpm-fcgi) (built: Oct 29 2014…
Tobias
  • 131
  • 2
3
votes
1 answer

(network.c.379) can't bind to port: 80 Address already in use

I have one server running both apache and lighttpd on two separate IPs. After rebooting the server I can't access the stuff on lighttpd: /etc/init.d/lighttpd restart (network.c.379) can't bind to port: 80 Address already in use
chonko
  • 41
  • 1
  • 1
  • 2
3
votes
1 answer

SSL with authentication without encryption

Is it possible to setup lighttpd server and curl client so that both the client and the server verify each other's self-signed SSL certificate but the file is downloaded without SSL encryption? How can I setup this?
jackhab
  • 771
  • 1
  • 8
  • 21
3
votes
5 answers

What's the most effective way to block incoming HTTP/HTTPS requests from an old domain name?

A own a dedicated CentOS box that uses lighttpd to serve www.newdomain.com. However, the same IP used to host an old domain www.olddomain.com. The box still gets requests for www.olddomain.com. What's the most effective way to block those…
Iraklis
  • 488
  • 1
  • 6
  • 14
3
votes
1 answer

lighttpd logs clogging hd

I have a php website running on lighttpd. I have around 15 to 30k visits daily. Now, in my PHP code, I have a lot of warnings generated by undeclared $_GET or $_POST variables. Obviously these are not shown to the user so are all logged into…
john smith
  • 131
  • 2
3
votes
1 answer

How to return 410 with lighttpd

I have a subdomain with service I am going to kill. I'd like to use 410 to mark it as such. Is there a way to do that with lighttpd without resolving to mod_magnet and lua scripts?
Almad
  • 151
  • 7
3
votes
1 answer

redirecting HTTPS requests to http in lighttpd

I have a lighttpd server running which has an SSL certificate installed. I would, due to certain reasons, like to forward all https: //www. requests to http: //www. My lighttpd code looks like as follows: $SERVER["socket"] == ":443" { ssl.engine…
chochim
  • 145
  • 2
  • 6
3
votes
2 answers

SSL Certificate for local web server

Is it at all possible to create a self-signed certificate for use on multiple machines on a local network which would stop the browser complaining it is not a trusted site? We have a product which is basically a computer running lighttpd to serve a…
Firefly
  • 31
  • 1
  • 1
  • 3