Questions tagged [lighttpd]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

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&...
1
vote
1answer
67 views

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

accessing dedicate server.document-root in lighttpd returns 404

I have a default lighttpd installation with server.document-root = /var/www/html /etc/lighttpd/lighttpd.conf server.modules = ( "mod_indexfile", "mod_access", "...
2
votes
1answer
104 views

Lighttpd Client Certificate Authentication

I'm trying to enable client certificate authentication with lighttpd using my own internal windows CA's. Disclaimer: I'm still very new to PKI :D I have an offline root CA and a subordinate CA in my ...
0
votes
1answer
214 views

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

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 ...
0
votes
1answer
43 views

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....
0
votes
1answer
191 views

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) ...
0
votes
1answer
155 views

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&...
0
votes
1answer
60 views

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"]...
0
votes
1answer
21 views

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 ...
0
votes
1answer
298 views

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 ...
0
votes
0answers
74 views

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["...
0
votes
1answer
103 views

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&...
0
votes
2answers
132 views

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 ...
1
vote
1answer
71 views

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 ...
0
votes
0answers
21 views

Unable to access webui with link local address

In lighttpd, I am unable to access WebUI with IPv6 link-local address, but with IPv6 global address it's accessible. Why is it so?
0
votes
1answer
521 views

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 ...
0
votes
1answer
135 views

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 ...
0
votes
1answer
80 views

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

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)...
1
vote
0answers
124 views

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://<homeip>:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've ...
0
votes
1answer
856 views

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 ...
1
vote
1answer
197 views

What’s the meaning of “(?i)” in Lighttpd rewrite rule?

This article : https://www.cyberciti.biz/tips/lighttpd-mod_rewrite-redirect-hotlink-image.html mentions : $HTTP["referer"] =~ ".*BADDOMAIN\.com.*|.*IMAGESUCKERDOMAIN\.com.*|.*blogspot\.com.*" { ...
0
votes
0answers
460 views

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__': ...
0
votes
1answer
255 views

lighttpd 1.4: Include scheme in www-to-no-www redirect config, with path exclusion

I'm using lighttpd 1.4.45 on a Debian-based system and have the 10-no-www.conf (from /etc/lighttpd/conf-available/10-no-www.conf in the lighttpd package) in use to redirect "www.<something>" to "...
0
votes
1answer
201 views

Lighttpd: Expose files in a directory only through chosen URL pattern

Background I have a web page X, which I would like to serve through only through URLs matching /X/${UUID}, where UUID is a random UUID which I give to a person. I have come up with a solution which ...
0
votes
1answer
2k views

Lighttpd Reverse Proxy with SSL/HTTPS

I am trying configure Lighttpd to redirect/handle port-specific requests to a subdomain. I can access my plex server via https://www.example.com:32400/ I would like that to be redirected to https://...
0
votes
0answers
130 views

Lighttpd Stops Responding, Has to Be Restarted

Lighttpd web server, lighttpd was shutting down with the error: [note] sockets disabled, out-of-fds I updated to the newest build of lighttpd, updated fd limits, and now lighttpd does not shut ...
0
votes
2answers
293 views

linux/lighttpd: setting umask for webdav?

I'm running lighttpd on my linux server. I have set up webdav, and I want to set the umask to a specific value only for the webdav site, and not for any other sites running under my lighttpd server. ...
0
votes
1answer
3k views

Lighttpd reverse proxy HTTPS to another server on HTTP

I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both ...
1
vote
1answer
260 views

How to use modsecurity with lighttpd

I'm not an expert and I'm looking to use modsecurity with lighttpd Can someone explain me how to compile or install modsecurity for lighttpd because I can't find any documentation online
3
votes
1answer
2k views

Proxy URL to different port via Lighttpd

I cannot seem to proxy a URL to another port on same hostname. I have user interface (Angular 5) running on somehost:8080 and the rest of the web application on somehost.com (port 80). I'd like to ...
3
votes
2answers
2k views

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 ...
0
votes
0answers
569 views

Lighttpd running FastCGI script hangs and give 500 internal error

I'm attempting to use lighttpd and fastcgi to run a small flask application. When I try to start lighttpd, it starts the server just fine, but when I try to connect in the browser, it hangs without ...
1
vote
1answer
117 views

Suexec: invalid command error

I'm trying to set lighttpd with suexec, but something goes wrong on testing: when I try to launch something via suexec, it gives me in log: [2017-10-08 00:23:24]: invalid command (/srv/http/main/...
0
votes
1answer
128 views

Lighttpd stop responding to php calls

I am running 2 servers with Lighttpd 1.4.45 with fastcgi and php 5.6 on gentoo linux. We have a problem in both servers that about twice a day the Lighttpd stop responding to php calls, only restart ...
0
votes
1answer
518 views

Redirect http and ssl requests on 50001, 50002 to localhost ports lighttpd

I have a http server running on localhost:50001 and a ssl enabled server on localhost:50002, my root domain is say example.com lighttpd serves a directory when example.com is requested. I need to ...
1
vote
2answers
457 views

Extracting TLS session keys from lighttpd

Is it possible to extract the TLS session keys from Lighttpd so we are able to decrypt traffic captured by tcpdump? Alternatively, we could disable PFS but we prefer not to do that.
1
vote
2answers
584 views

Migrate Apache Authorization Header rule to Lighttpd

My web server is running PHP applications with lighttpd and PHP-FPM for years. Now, after a 3rd-Party software upgrade, I must include some rules in order to activate a REST API. <IfModule ...
0
votes
1answer
898 views

How to use php-fpm in tcp mode on an external machine?

I'm using php-fpm over TCP, because Is my intention load balance it. Should I have PHP files on every server? Or can I store it at the web server (Lighttpd)? I'm receiving 404 Error when trying to ...
1
vote
1answer
841 views

SNI for Multiple Hosts on Lighttpd

Inherited lighttpd server, I'm somewhat clueless on it. Trying to use SNI to install a 3rd SSL cert without another IP. Currently the SSL config in lighttpd.conf looks like so: $SERVER["socket"] == ":...
5
votes
1answer
675 views

How to disable abbreviated SSL handshake to perform a full handshake every call on lighttpd?

I understand the ssl handshake flow, but I'm facing a logic problem. When a user selects a certificate I need to validate it against application to know that its reliable and match with any system ...
1
vote
1answer
240 views

Lighttpd proxy tomcat path

My tomcat serves 2 sites ROOT -> Main-site /mobile -> dedicated mobile website I've configured lighttpd to serve as a proxy $HTTP["host"] =~ "www.my-site.at" { proxy.server = ( "" =&...
0
votes
1answer
1k views

Is possible to use Lighttpd $HTTP[“url”] conditional to enable ssl.verifyclient.* option dynamically?

I should enable ssl.verifyclient.* option for a single endpoint of the website, to proceed with certificate login or validation. But it is not working. The configuration: $HTTP["host"] =~ "^(.*\.|)...
2
votes
2answers
1k views

How do I set up letsencrypt with multiple domains on a lighttpd server with ubuntu 16.04?

I'm trying to set up letsencrypt on lighttpd from scratch. I currently run lighttpd on 16.10 xenial and want to move over existing sites to https from http. I know there's an automatic setup process ...
1
vote
1answer
22k views

Error “SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate” on lighttpd

I'm using a valid certificate but I'm not able to get client certificate. The lighttpd service fails with error: (connections-glue.c.200) SSL: 1 error:140890C7:SSL routines:...
-1
votes
1answer
1k views

Arch Linux - Pass MAC address of connected client to web application via web server [closed]

I currently have a raspberry pi running Arch Linux acting as a wifi access point. There is a web server running on the pi with a LAN web app (PHP). I want my web app to know the MAC address of a user ...
0
votes
0answers
162 views

how to use rewrite files with lighttpd

I have just installed a new personal Gentoo server (on a VPS at vpsfree.cz by the way) and wanted to try something more lightweight than Apache that I used on my previous Debian based server. I used ...
0
votes
1answer
875 views

lighttpd spontaneously dies

I've been using lighttpd pretty successfully on a VPS for several years, but I've hit a snag since upgrading from Ubuntu 14.04 to 16.04.1 on September 30th. (My lighttpd is now 1.4.35.) Twice, upon ...

1
2 3 4 5
12