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
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,115
  • 5
  • 19
  • 27
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,265
  • 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
  • 685
  • 3
  • 7
  • 14
1
vote
1 answer

Lighttpd - Redirect HTTPS 443 to HTTPS 123

I have HTTPS working for a local instance of Lighttpd. But I'm wanting to redirect: http://192.168.1.254 -> https://192.168.1.254:123 https://192.168.1.254 -> https://192.168.1.254:123 My config is below. What I get ATM is…
Sean Delaney
  • 111
  • 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
  • 15
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
2 answers

Cross platform reverse proxy with lighttpd

I have a website www.somewebsite.com domain hosted on lighttpd 1.4 server configured with server.port = 8080 that is on a device (A) with local IP 192.168.1.26 and I want to get to use a reverse proxy in order to access another server that runs on a…
AndreaF
  • 205
  • 1
  • 8
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
1
vote
2 answers

Is Apache mod_evasive has same function as Lighttpd mod_evasive?

Apache mod_evasive description: When possible attacks are detected, mod_evasive will block the traffic from the source for a specific duration of time, while reports abuses via email and syslog facilities. Or administrators can configure…
Memek Kontol
0
votes
1 answer

Balancing between load and site stability (500 errors) with max-procs in lighttpd

I have a rather large dynamic site running off a single lighttpd powered box (1.3 million page views per day). But Im frequently getting random 500 errors on the site, which sometimes go away within a second or 2... or sometimes not going away until…
user11350
0
votes
1 answer

PHP curl_exec failing with HTTPS

I have a wordpress site that its failing. I tracked the issue and I found that is due to curl_exec() failing with HTTPS sites. I'm running php 5.6 in a Alpine Linux v3.8 container with lighttpd. The logs (error.log) don't give too much…
lepe
  • 468
  • 1
  • 6
  • 23
0
votes
0 answers

Trying to deploy my flask web app using lighttpd

I'm trying to deploy my flask web app using lighttpd. I created this hello.fcgi file #!/usr/bin/python from flup.server.fcgi import WSGIServer from hello import app if __name__ == '__main__': WSGIServer(app).run() And python file is hello.py…
0
votes
1 answer

What files to backup on Lighttpd+MySQL+PHP server

I have a VPS with CentOS 5. I would like to create backup of: all my config files tweaks of database, php, server a databases cron settings website files installed applications and their settings (?) What files should i take into account? I don't…
Tom Smykowski
  • 1,115
  • 5
  • 19
  • 27