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

Unable To Activate User Directories In Lighttpd

I am using Debian 7 based host and configure PHP-FPM and lighttpd along with rutorrent on this host. I wants to use user directories instead of default /var/www path. I already run following command to activate user directories.But unable to use…
Pradeep Gupta
  • 387
  • 2
  • 5
  • 18
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,631
  • 3
  • 27
  • 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
4
votes
4 answers

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 variable, preferably without changing the web…
Jens
  • 147
  • 2
  • 9
4
votes
1 answer

Apache starts automatically on Ubuntu, needs to be stopped to restart lighttpd

I've some issues with my webserver's Apache and lighttpd on Ubuntu 9.04. I use lighttpd only and I've stopped Apache on Ubuntu. For some reason, starting a few days ago, Apache starts to run and I need to stop it in order to restart lighttpd. Cron…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
4
votes
2 answers

Combine lighttpd configs for IPv4 and IPv6

My lighttpd.conf includes the following lines: $SERVER["socket"] == "188.40.236.66:443" { ssl.engine = "enable" ssl.ca-file = "/etc/lighttpd/ssl/startcom.ca.pem" ssl.pemfile = "/etc/lighttpd/ssl/www.unixforces.net.pem" } …
user41024
4
votes
2 answers

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" ::ffff:218.38.136.38 109.72.95.174 -…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
4
votes
2 answers

Lighttpd restart and force-reload commands

What is the difference between the following sudo /etc/init.d/lighttpd restart and /etc/init.d/lighttpd force-reload ?
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
4
votes
1 answer

How to remove response header in lighttpd configuration

There is mod_setenv for adding: setenv.add-response-header = ( "Header" => "value" ) But I can't find anything to remove response headers. I have to be sure, that my content is not cached by mobile operator proxies. On Apache I was doing it…
grzaks
  • 335
  • 1
  • 3
  • 9
4
votes
2 answers

lighttpd VS Apache

could you pelase tell me what's the difference (i never heard of lighttpd before) ? pro / cons ? and what would you pick for a website who have to deal with a lot of querys (like 20,000 min per day) ? Thanks
Tristan
  • 498
  • 2
  • 9
  • 27
4
votes
3 answers

How to use 2 webservers on 2 server at once without repercusions

I got big phpbb forum and 2 servers. Want to distribute http load from 1 webserver to 2 webservers. Did it already in the past but there was problem. On both servers (1 and 2) was lighttpd. I used various load ballancers when user connect to server…
sg1
3
votes
2 answers

lighttpd proxy all except .well-known for letsencrypt

I want to configure lighttpd to accept requests from letsencrypt service for cert renewal, but I have a problems with the configuration because it's using as proxy server, so my /.well-known is not available using HTTPS. Config files below. Any…
TarasH
  • 33
  • 1
  • 6
3
votes
1 answer

Lighttpd doesn't start after purging Apache

I tried to migrate from Apache to Lighttpd on kubuntu 16.04. I used apt-get remove --purge apache2 then apt-get install lighttpd After running systemctl start lighttpd I got the error message Job for lighttpd.service failed because the control…
Patently Paul
  • 133
  • 1
  • 6