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

learn more… | top users | synonyms

2
votes
6answers
6k views

Apache, nginx, or lighttpd? [closed]

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. ...
5
votes
1answer
8k views

Apache MPMs - Worker vs Prefork

I'm trying to figure out what which is the best Apache MPM I can install on my VPS. I saw some benchmarks and MPM Worker seems to perform better than the Prefork one but for some reason everyone seems ...
2
votes
2answers
2k views

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 ...
1
vote
2answers
3k views

what is lighttpd equivalent of RewriteCond %{REQUEST_FILENAME} !-f?

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php This is Zend htaccess, I can't seem to find a lighttpd equivalent of ...
2
votes
2answers
971 views

Webserver logs: “Morfeus F***ing Scanner”

I've just found these accesses in my web server log files: ::ffff:218.38.136.38 109.72.95.175 - [10/Jan/2011:02:54:12 +0100] "GET /user/soapCaller.bs HTTP/1.1" 404 345 "-" "Morfeus Fucking Scanner" ...
0
votes
2answers
526 views

Is it possible to filter/edit web content using Apache/Nginx/Lighttpd?

Is it possible to use any of the following HTTP servers: Apache, Nginx or Lighttpd as a proxy to make the following: Disallow certain HTTP bodies (web pages) based on their content (e. g., words) ...
0
votes
2answers
390 views

How to get rid of webmin environment variables in PHP

I installed lighttpd with fast-cgi. Then I installed webmin. It appears webmin has taken over the lighttpd install and changed the PHP configuration to add a bunch of their own environment variables ...
18
votes
4answers
17k views

Which is best for Django? Lighttpd or Nginx? Or maybe something else?

Which of Lighttpd and Nginx is, basing on your experience, better suited for Django? I've used both and can hardly notice any difference at all, they just work fine... Are there any use cases when one ...
6
votes
2answers
2k views

Why are NginX and Lighttpd not affected by Slowloris?

I am investigating the vulnerability to Slowloris and I think I understand how and why this sort of attack works. What I don't understand is why Lighttpd and NginX are not affected (according to the ...
6
votes
7answers
5k views

Handling http and https requests using a single port with nginx

i was wondering if nginx is able to handle http and https requests on the same port. [*] This is what i'm trying to do. I'm running a web server (lighttpd) handling http requests, and a C program ...
3
votes
1answer
2k views

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, ...
2
votes
1answer
633 views

Find the source of malware?

I have a server that was running an older version of lighttpd (1.4.19 on a freebsd 6.2-RELEASE (yea, old) machine) and google alerted me that it had found malware embedded on one of my server's pages. ...
10
votes
2answers
19k views

How to enable error log in lighttpd properly?

I have a Centos 5 system with Lighttpd and fastcgi enabled. It does log access but does not log errors. I have Internal Server Error 500 and no info in log and when I try to open not -existing file ...
1
vote
3answers
4k views

Debian Open port 81

I install lighttpd in one server using port 81. The problem is that the port is closed, and I don't know how to open the port. Regards, Pedro
3
votes
3answers
820 views

How to set an environment variable for a process spawned by the webserver?

In my setup (debian etch, lighttpd), one one my websites is calling a program for some image manipulation via PHP, I think. I'd like to change the behavior of this program by setting an environment ...
3
votes
5answers
2k views

nginx vs lighttpd for wordpress

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 ...
2
votes
4answers
3k views

How to protect Lighttpd from DOS attacks and flooding? [duplicate]

I have a problem with Lighttpd because someone started to use some Web downloader from very good connection and it blocked my whole website. Is there any way to protect Lighttpd from DDOS attacks and ...
2
votes
2answers
1k views

In an Apache + lighttpd setup, who should be the proxy?

In a setup where you use Apache for PHP / Python scripts and lighttpd for static files, but only one listens on the outside IP address and acts as a proxy to the other listening on the loopback ...
1
vote
0answers
71 views

How to make lighttpd remap a part of the URL without sending a redirection?

Same than here, but for lighttpd. I have pictures on a path looking like this: /0/1/2/3/4/01234/screenshots/1.jpg The URL to access it looks like this: /static/0/1/2/3/4/01234/screenshots/1.jpg ...
1
vote
0answers
362 views

lighttpd 1.5 reverse-proxy to trac

I'm running lighttpd 1.5 freshly compiled off svn. I have a trac daemon listening on port 8000 and I want to proxy all requests matching ^http://xx.xx.xx.xx/trac(*.) to that daemon. Here is what it ...
1
vote
1answer
368 views

What is lighttpd's version of “mod_substitute”?

Recently I read that Apache 2.2 has a new mod to patch outputs on the fly. mod_substitute provides a mechanism to perform both regular expression and fixed string substitutions on response bodies. ...
1
vote
3answers
419 views

The Current State Of Serving a PHP 5.x App on the Apache, LightTPD & Nginx Web Servers?

Being stuck in a MS stack architecture/development position for the last year and a half has prevented me from staying on top of the world of open source stack based web server's recent evolution more ...
0
votes
1answer
85 views

Redirect with lighttpd and fastcgi on Django App

I have setup my lighttpd in a fashion which redirects all subdomains to my primary domain in following fashion * .domain.com -> domain.com. Unfortunately when i type in a subdomain such as ...
0
votes
1answer
302 views

Lighttpd fails with 403 - Forbidden with SELinux enabled

I've setup a CentOS 6.3 box with lighttpd, php-fpm and I can server both static files and PHP files with SELinux enabled if I leave the lighttpd home directory set to the default (/var/www/lighttpd). ...
0
votes
3answers
1k views

Lighttpd not starting - no error

I recently installed Lighttpd on Ubuntu Server 10.04 x86_64 and created several websites. What I do is include /etc/lighttpd/vhost.d/*.conf and put a configuration file for each website in that ...
0
votes
2answers
561 views

lighttpd: modifying / adding content to response?

for nginx there's a very nice module available to filter a response and search/replace content in it: http://wiki.nginx.org/HttpSubModule i wonder, if there's a similar possibility for lighttpd ...
0
votes
1answer
290 views

Lighttpd redirect from www.domain.com to domain.com

I need to permanently redirect all www.domain.com to domain.com in Lighttpd. Here's relevant part of my lighttpd.conf: $HTTP["host"] =~ "^www\.domain\.com$" { url.redirect = ( "^/(.*)" ...
-1
votes
1answer
129 views

Ubuntu: apt-get -f install lighttpd does not install

I'm trying to install lighttpd. When running sudo apt-get -f install , I'm getting this error : ~/dev/downlaod$ sudo apt-get -f install lighttpd Reading package lists... Done Building dependency ...