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

How to serve a wget --mirror'ed directory of files with questionmarks in them

I'm trying to create a static mirror of a php application (an old php Gallery installation, specifically). The app produces URLs such as: view_album.php?set_albumName=MyAlbum wget downloads these directly to files named the same, complete with…
user67641
  • 1,242
  • 2
  • 14
  • 18
8
votes
3 answers

Lighttpd sending wrong headers for UTF-8 content

Ubuntu/Lighttpd is not serving my UTF-8 encoded files with the correct Content-Type header. It's sending Content-Type: text/html rather than Content-Type: text/html; charset=UTF-8. How do I configure Lighttpd to send the correct headers? I didn't…
sourcenouveau
  • 489
  • 1
  • 5
  • 18
7
votes
3 answers

logrotate rename files with date

Right now, logrotate renames old log files to access.log.1.gz, access.log.2.gz, etc. I would prefer if it named them access.log.20090714.gz, access.log.20090715.gz, etc - one for each day. I cannot find any option of specifying a filename pattern…
Krystian Cybulski
  • 495
  • 3
  • 6
  • 13
7
votes
2 answers

keep-alive or not keep-alive

My company is launching a new website with potentially large waves of visitors in very short windows (estimate is around 14k visitors in a 2 minutes window). So, I'm reviewing our configuration, and my biggest problem right now is our single node…
Julien Vehent
  • 2,927
  • 18
  • 26
7
votes
2 answers

Running multiple services on Port 443, Tunnel SSH over HTTPS

Situation: I want to tunnel SSH sessions through HTTPS. I have a very restrictive firewall/proxy which only allows HTTP, FTP and HTTPS traffic. What works: Setting up a tunnel through the proxy to a remote linux box that has a sshd listening at port…
lajuette
  • 761
  • 6
  • 16
6
votes
5 answers

Firefox does not load certificate chain

I'm running lighttpd/1.4.28 (ssl) on Debian Squeeze. I just created a http://startssl.com certificate, I runs fine at all of my Browsers (Firefox, Chrome, Opera), but my users are reporting certificate-errors in Firefox. I already nailed it down to…
TimWolla
  • 162
  • 1
  • 7
6
votes
1 answer

How to setup Python with Lighttpd and FastCGI (like PHP)

Running Lighttpd on Linux, I would like to be able to execute Python scripts just the way I execute PHP scripts. The goal is to be able to execute arbitrary script files stored in the WWW directory, e.g. http://www.example.com/*.py. I would not…
johndir
  • 305
  • 1
  • 5
  • 9
6
votes
2 answers

Is nginx good for dynamic content?

I want an alternative for apache, lighthttpd has memory leaks problems so i can't go for it, i keep reading that nginx is good for static content but is it good for php-mysql dynamic video sharing content? I have read also that a good option is to…
user
  • 809
  • 3
  • 13
  • 18
6
votes
1 answer

How can I enable http auth in lighttpd for all directories except one?

I am trying to authenticate access to everything in webroot (/) except anything that resides in a particular directory (/directory/) and I've tried both of these options to no avail: $HTTP["url"] =~ "^(?!(/directory))" { auth.require = ( "" => …
Nuri Hodges
  • 381
  • 3
  • 12
6
votes
3 answers

How to comment multiple lines in Lighttpd config file?

In lighttpd.conf usually comment 1 line with # How was wondering how to comment multiple lines without adding # in front of each line. thanks
aneuryzm
  • 1,614
  • 5
  • 25
  • 40
6
votes
2 answers

How to diagnose Internal Server error on Lighttpd?

I have Lighttpd on Centos 5 with Fcgi and Memcached. Periodically, once per week or two i get internal server error 500 and i must manually restart lighttpd to get it to work again. In my lighttpd config I've defined error log file: server.errorlog …
Tom Smykowski
  • 1,115
  • 5
  • 19
  • 27
5
votes
5 answers

Nginx vs Lighttpd for WordPress server performance?

Which web server would be more suitable for running a few instances of wordpress? They are both pretty easy to setup, so I am wondering mostly about performance. Would there be a difference? I think nginx is faster for serving static files.
verhogen
  • 333
  • 2
  • 4
  • 14
5
votes
1 answer

How to disable abbreviated SSL handshake to perform a full handshake every call on lighttpd?

I understand the ssl handshake flow, but I'm facing a logic problem. When a user selects a certificate I need to validate it against application to know that its reliable and match with any system user. But if not, I must allow for user ask again to…
LeonanCarvalho
  • 620
  • 2
  • 5
  • 21
5
votes
1 answer

How to reverse proxy https with lighttpd?

I want to forward (reverse proxy) requests to https://secure.mydomain.com(:443) to my internal (HTTPS-)WebServer on port 8443 using Lighttp. Environment-Infos: My WebServer is a Tomcat running on Port 8080 (HTTP) and Port 8443 (HTTPS). HTTP and…
Ben
  • 221
  • 2
  • 6
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…
1
2
3
39 40