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

How to monitor streaming servers

I have had a bunch of Linux based streaming servers that employed lighttpd web server to provide video streaming via port 80. Recently, our service is very slow. Therefore, I would like to ask if there is a good software package that helps us…
pcdinh
  • 111
  • 2
1
vote
1 answer

How do I setup a lighttpd server to serve all images/js/css files with a main apache server?

I have an apache server on a linux ubuntu server. I would like to configure a lighttpd server to serve all the static content.
Doron
  • 543
  • 1
  • 6
  • 14
1
vote
1 answer

Lighttpd wont restart due to an fastcgi.server error

Here is what comes up when I try to restart lighttpd user:/# /etc/init.d/lighttpd restart Stopping web server: lighttpd. Starting web server: lighttpdDuplicate config variable in conditional 0 global: fastcgi.server 2010-02-13 22:08:30:…
Mint
  • 476
  • 2
  • 9
  • 23
1
vote
4 answers

How to scale beyond 150 page views per minute?

I have a Facebook app written in PHP. It has 150 page views per minute and will have up to 300 page views per minute till end of this year. While getting more PV I start to have problems with scalability and therefore I would like to ask you for an…
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
1
vote
1 answer

lighttpd 1.4.46+ serve specific file based on $HTTP["useragent"]

I have a lighttpd server version 1.4.46+ on Linux which serves file1.xml and file2.xml from htdocs directory as is. There are clients that request these files, each of those send a User-Agent header to the server, which have format MyApp 12345 where…
FearDC
  • 13
  • 3
1
vote
2 answers

What is the maximum number of virtualhosts lighttpd can handle?

What is the maximum number of VirtualHosts a single lighttpd instance can handle? I'd like to confirm some numbers before deploying lighttpd for production. Here's a similar question for the old apache httpd. Thanks.
fpemud
  • 111
  • 1
1
vote
2 answers

Serve static images from lighttpd and php from apache?

So I have 2 IP Addresses, and running apache on ipaddress #1 (www.server.com). What I was thinking, was pointing static.server.om to ipaddress #2, and running lighthttpd for images and javascript. Does this sound normal? I want to make sure my…
Kladskull
  • 1,255
  • 5
  • 15
  • 32
1
vote
1 answer

Lighttpd Not Printing Errors for 500 anywhere?

i'm trying to use lighttpd as a simple "alive" server for some nodes i have running. However, the script I'm running throws 500 errors non-deterministically, and i can't find them anywhere. Here's my debugging configuration: server.document-root =…
aronchick
  • 695
  • 3
  • 7
  • 15
1
vote
2 answers

Lighttpd reverse proxy to another server faild

I am trying lighttpd as a reverse proxy (v1.4.53) lighttpd.conf: $HTTP["url"] =~ "(^/example/)" { proxy.header = ("map-urlpath" => ( "/example/" => "/" )) proxy.server = ("" => (( "host" => "redmine.lighttpd.net" ))) } However, this request…
hukaka818
  • 21
  • 2
1
vote
0 answers

Check FastCGI-enabled version of lighttpd

I have installed lighttpd and added script.fcgi to /var/www/html/ with chown and chmod and edited etc/lighttpd/lighttpd.conf like mentioned below and got: 2021-06-09 22:05:27: server.c.1513) server started (lighttpd/1.4.59) 2021-06-09 22:05:27:…
1
vote
1 answer

503 service unavailable with high loads when using php7.3-fpm and lighttpd 1.4.53 connected via UNIX sockets instead of TCP

I recently switched my php7.3-fpm configuration to use UNIX Sockets instead of listening at localhost:9000. This solved a lag problem (every now and then I had requests that took over a second for no reason). But, now using unix sockets I get "503…
SDwarfs
  • 385
  • 4
  • 18
1
vote
1 answer

Drupal 6 + Lighttpd = Very Slow on registering & no email

I have VPS account with 256MB RAM. But when Im trying registering, it takes very long time, and no email sent Is this because I have too small resource?
Pepek Dan Baskom
1
vote
1 answer

Serve ports through URL using lighttpd

Settings and goal On a raspberry pi, I'm running a Lighttpd server (version: lighttpd/1.4.53 (ssl)). This server was initially installed by pi-hole, a DNS I'm starting to use to manage my network. I already managed to associate http://raspi.home to…
Dan Chaltiel
  • 119
  • 5
1
vote
1 answer

Why won't lighttpd restart despite having correct permissions?

systemctl status lighttpd ● lighttpd.service - Lightning Fast Webserver With Light System Requirements Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu…
Jason
  • 3,931
  • 19
  • 66
  • 107
1
vote
1 answer

PHP & lighttpd: Cannot access POST data

I am running PHP 7.2 fpm with lighttpd/1.4.53 on Raspbian. My goal is to upload image files through HTTP POST - But whatever I post to the script, the $_POST, $_FILES, $_REQUEST superglobals are just empty arrays. $_SERVER, however, returns a…
Aileron79
  • 259
  • 1
  • 7