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

lighttpd security without htaccess

I have a webserver with limited resources and therefore I decided to use lighttpd as my webserver software. However, I notice now that it does not recognizes apache .htaccess files. Most of the software I use and opensource scrips have plenty of…
Thom
  • 41
  • 1
  • 3
0
votes
1 answer

Lighthttp FastCGI unable to start due to permission denied on Linux Mint 20

I get that in /var/log/lighttpd/error.log after start attempt: 2021-04-04 14:47:21: (server.c.1488) server started (lighttpd/1.4.55) 2021-04-04 14:47:21: (gw_backend.c.1404) invalid "bin-path" => "/usr/bin/cgi-bin" (check that file exists, is…
0
votes
1 answer

Auto start lighttpd when it dies

Other than Monit, do you know how can auto start the lighttpd? maybe some built-in function which I dont know... (I use Lighttpd 1.4.22) Thanks in advance.
Kuku
0
votes
1 answer

Lighttpd Port/Proxy Alias Redirect

I am trying to redirect an alias to an internal port. [https]://www.site.com/place ---> [http]://localhost:10000 The configuration entry I currently have just changes the URL to [https]://www.site.com:10000 instead of preserving the…
Will Roberts
  • 53
  • 1
  • 6
0
votes
1 answer

Lighttpd 1.4.45 - HTTP to HTTPS redirects not replacing ${url.authority}${url.path}${qsa}

I tried to reconfigured my lighttpd to automatically relocate any HTTP requests to HTTPS requests. To do this, I found the following config snipped in the Lighttpd Redmine Wiki: $HTTP["scheme"] == "http" { url.redirect = ("" =>…
SDwarfs
  • 385
  • 4
  • 18
0
votes
1 answer

Lighttpd proxy, and letsencrypt renewal

I need some help on this subject. I have many domains in the same lighttpd config, and I will move to letsencrypt cert, so I'm simulating on a dummy server. I have the following: $HTTP["url"] !~ "^/.well-known/acme-challenge/.*$" { …
0
votes
1 answer

lighttp seems to be caching license file but don't know why

I'm using certbot to generate SSL certs for my website. I had an issue (because of cron script error and out of date python2, now resolved) where auto-update didn't work. I now have up to date license files on my server. The license files are in an…
danmcb
  • 113
  • 6
0
votes
1 answer

Lighttpd alpine container logging

The context is that I want to serve a static website inside a docker container so I can have some dedicated metrics, and I want the logs to use stdout/stderr. To do that I thought of using Lighttpd with an Alpine image. I found a tip here where we…
VascoCC
  • 101
  • 4
0
votes
0 answers

Problems with WEBDAV on lighttpd

I've setup webdav on lighttpd but I'm getting a Cannot open collection - 404 not found when I try to access the share through cadaver. My lines for the vhost and share are as follows: $HTTP["host"] == "www.markmhart.com" { server.document-root =…
0
votes
1 answer

Error in config trying to setup webdav in lighttpd

I'm trying to setup webdav on lighttpd but I'm getting a lighttpd.conf: parser failed somewhere near here at end-of-file. The webdav config is at the end of the file: here it is- $HTTP["host"] == "www.markmhart.com" { server.document-root =…
0
votes
1 answer

LIGHTTPD PHPMYADMIN How can I configure PhpMyAdmin to only work on a specific Subdomain

So I have a small server with Lighttpd and I have installed PhpMyAdmin on it. This is the default configuration. The Computer is accessible from the Internet on Port 80. How can I make phpMyAdmin to listen on another port other then 80 ? Or how can…
Max Muster
  • 337
  • 2
  • 6
  • 27
0
votes
1 answer

How to configure lighttpd to serve an Angular 8 application?

I would like to run an Angular 8 app on lighttpd webserver installed on a Raspberry Pi. Unfortunately the app stops loading immediately leaving a blank browser screen. No error in browser console, no error in lighttpd logs, no hint. Just nothing.…
mwalter
  • 101
  • 2
0
votes
1 answer

Lighttpd/Nginx Non-Functional

I'm using the Blackboard AMI from AWS and can't get the lighttpd to function on it. I continually get 502s. I've run service lighttpd status which gave me back: ● lighttpd.service - Lighttpd Daemon Loaded: loaded…
user3783243
  • 99
  • 1
  • 10
0
votes
1 answer

Lighttpd - can be run, but not showing up as service on Ubuntu

I've got a little Atom box that I'm running Xubuntu (18.04.3 LTS Ubuntu with Xfce) on and I've got lighttpd up and going by adjusting the port number in the conf file (to avoid a collision with Apache on port 80). I can start lighttpd by using…
0
votes
2 answers

Merge different web services to one port

I have different web services running on different ports (on one Linux host): https://host.com:101/app1/ (Flask) https://host.com:102/app2/ (Ruby) ... How can I access them through a common port (80), so the port could be…
Vincent Alex
  • 101
  • 1
1 2 3
39
40