Skip to main content

Questions tagged [lighttpd]

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

0 votes
1 answer
158 views

With this configuration $HTTP["host"] == "^(ch\.)?pool.ntp.org$" { accesslog.filename = "/var/log/lighttpd/pool.ntp.org_access.log" $HTTP["url"] =~ &...
theking2's user avatar
  • 234
0 votes
1 answer
606 views

The following config (/etc/lighttpd/lighttpd.conf) seems to redirect to the default page $HTTP["host"] == "pool.ntp.org|ch.pool.ntp.org" { accesslog.filename = "/var/log/...
theking2's user avatar
  • 234
1 vote
0 answers
137 views

I need a Lighttpd rewrite rule for a WordPress Multisite in a subdirectory for my local install. # Rewrite url.rewrite-final = ( "^/([_0-9a-zA-Z-]+/)?(wp-json.*)" => "/index....
drumkid's user avatar
  • 11
-1 votes
1 answer
405 views

I'm an absolute beginner at lighttpd and I'm at my wits end trying to figure out what's gone wrong with the default settings that I've customized atm debug.log-request-handling = "enable" ...
Calvin's user avatar
  • 1
0 votes
1 answer
116 views

I am beginner in lighttpd I am facing problem in cms script because of htaccess as htaccess dont work in lighttpd I had enabled mod_rewrite in lighttpd.conf file and due to this I am facing 404 error ...
Prajwal 's user avatar
0 votes
1 answer
277 views

0 Just recently I've started to see seemingly random crashes on a web server that has been stable for quite some time. I think PHP is crashing, but there are no crash logs so I'm only assuming that's ...
QldRobbo's user avatar
0 votes
1 answer
98 views

It seems like redirect is not done. If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect SERVER["socket"] == ":443" { $HTTP["...
Aprendiz's user avatar
0 votes
1 answer
375 views

I have two CGI test scripts in lighttpd. When I open Bash http://host/cgi-bin/test.sh URL I get a valid response from the script. But when I open Python http://host/cgi-bin/test.py the file is ...
jackhab's user avatar
  • 823
0 votes
1 answer
517 views

I am using lighttpd version 1.4.55 within an ARM environment. I created an HTML pages in which there is a button used to download some json data. This button trigger a submit form that calls a cgi ...
marco's user avatar
  • 1
1 vote
1 answer
270 views

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 ...
FearDC's user avatar
  • 13
1 vote
2 answers
239 views

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 ...
fpemud's user avatar
  • 111
0 votes
1 answer
2k views

I am running lighttpd in a docker container on Ubuntu (as a service that must always be up in my traefik setup). My docker-compose.yml contains: lighttpd: image: sebp/lighttpd container_name:...
gctwnl's user avatar
  • 173
0 votes
0 answers
749 views

I am a beginner with traefik, lighttpd, docker compose, and I am trying to get logging working for lighttpd under docker compose. My lighttpd.conf file contains: server.modules = ( "...
gctwnl's user avatar
  • 173
0 votes
0 answers
142 views

So, I've this situation: I have recently installed Lighttpd in ubuntu (In VM Ware), I am trying to bind the IP to the Lighttpd server and access that IP address (from a browser) in my other system (...
techie's user avatar
  • 1
0 votes
0 answers
293 views

I encountered an error that proxy.forwarded is an unknown key I already enabled mod_proxy on my configuration. Here is my config server.modules = ( "mod_access", "mod_accesslog&...
Falcon Ryu's user avatar
0 votes
1 answer
217 views

So far I have configured php-fpm configured and is up and running listening to port 9000 lighttpd is running and serves static files the problem that I have seems to be a permissions issue, so i chmod ...
garsev's user avatar
  • 1
0 votes
1 answer
146 views

It has been a long time since I have done any hosting on Linux, and it that was on CentOS and Apache. I am working on creating some sites on an Alpine server running Lighttpd. Reviewing the config ...
Andrew's user avatar
  • 209
3 votes
1 answer
641 views

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. ...
aronchick's user avatar
  • 755
0 votes
1 answer
372 views

I have running lighttpd 1.4.59 on Lubuntu 21.10. My lighttpd.conf contains: fastcgi.server = ( "/" => (( "bin-path" => "/var/www/html/script.fcgi", ...
Машина's user avatar
0 votes
1 answer
1k views

I have an interesting condition resolution problem to resolve and have not had luck with on-line searching and looking through documentation for lighttpd yet. Many of those searches led to similar ...
Bernd Wechner's user avatar
0 votes
1 answer
582 views

BusyBox httpd executes the ./cgi-bin/index.cgi if it exists. This is similar to index.php but with the /cgi-bin/ folder. So for example I have the structure: /api/ cgi-bin/index.cgi /blog/ cgi-bin/...
Sergey Ponomarev's user avatar
2 votes
1 answer
675 views

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 ...
Sean Delaney's user avatar
1 vote
2 answers
718 views

I am trying lighttpd as a reverse proxy (v1.4.53) lighttpd.conf: $HTTP["url"] =~ "(^/example/)" { proxy.header = ("map-urlpath" => ( "/example/" => &...
hukaka818's user avatar
0 votes
1 answer
2k views

I'm installing Nextcloud on a FreeBSD system and I'm using lighttpd behind a nginx reverse proxy with terminal SSL. lighttpd is able to serve static html files and can serve index.php, but without any ...
Luis's user avatar
  • 283
0 votes
2 answers
639 views

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 ...
Thom's user avatar
  • 41
1 vote
0 answers
1k views

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 ...
Владимир Смирнов's user avatar
0 votes
1 answer
3k views

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&...
Машина's user avatar
1 vote
1 answer
2k views

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 ...
SDwarfs's user avatar
  • 375
2 votes
1 answer
1k views

I have a default lighttpd installation with server.document-root = /var/www/html /etc/lighttpd/lighttpd.conf server.modules = ( "mod_indexfile", "mod_access", "...
papanito's user avatar
  • 401
2 votes
1 answer
2k views

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 ...
poppopretn's user avatar
1 vote
1 answer
3k views

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 ...
Dan Chaltiel's user avatar
2 votes
2 answers
2k views

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 ...
AndreaF's user avatar
  • 245
0 votes
1 answer
422 views

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....
Will Roberts's user avatar
1 vote
1 answer
2k views

systemctl status lighttpd ● lighttpd.service - Lightning Fast Webserver With Light System Requirements Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled) ...
Jason's user avatar
  • 3,971
0 votes
1 answer
2k views

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&...
SDwarfs's user avatar
  • 375
0 votes
1 answer
334 views

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"]...
Pedro Padilha's user avatar
0 votes
1 answer
105 views

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 ...
danmcb's user avatar
  • 113
0 votes
1 answer
2k views

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 ...
VascoCC's user avatar
  • 101
0 votes
0 answers
1k views

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["...
user3670606's user avatar
0 votes
1 answer
617 views

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&...
user3670606's user avatar
0 votes
1 answer
1k views

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 ...
Max Muster's user avatar
1 vote
1 answer
917 views

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 ...
Aileron79's user avatar
  • 259
0 votes
1 answer
1k views

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 ...
mwalter's user avatar
  • 101
0 votes
1 answer
457 views

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 ...
user3783243's user avatar
0 votes
1 answer
697 views

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 ...
user3055321's user avatar
0 votes
2 answers
486 views

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),...
Vincent Alex's user avatar
1 vote
0 answers
290 views

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 ...
TheUnexpected's user avatar
0 votes
1 answer
3k views

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 ...
lepe's user avatar
  • 469
3 votes
1 answer
1k views

This article : https://www.cyberciti.biz/tips/lighttpd-mod_rewrite-redirect-hotlink-image.html mentions : $HTTP["referer"] =~ ".*BADDOMAIN\.com.*|.*IMAGESUCKERDOMAIN\.com.*|.*blogspot\.com.*" { ...
Httqm's user avatar
  • 297
0 votes
0 answers
1k views

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__': ...
user8481790's user avatar

1
2 3 4 5
12