Questions tagged [lighttpd]
lighttpd (pronounced "lighty") is a performance-optimized open-source web server
57
questions
0
votes
1
answer
283
views
Trying to run Pi-hole as a DHCP server in Docker but lighttpd service conflicts on port 80 with OctoPrint
I need help setting up Pi-Hole in Docker running alongside OctoPrint in Docker. I did the initial setup for Pi-Hole in Docker:
Pulled the Pi-Hole container
Ran the following bash script:
#!/bin/bash
...
0
votes
1
answer
36
views
Lighttpd: Need help in blocking a folder and its files / subdirectories from directly accessing through the URL
On Lighttpd ver. 1.4.X
I tried using the below example to block the access to the folder "settings" and its contents. But, as I observed, only the folder "settings" will get ...
0
votes
1
answer
594
views
Why lighttpd cannot access fastCGI Unix socket?
I have an C application which opens fastCGI Unix socket via fcgi library on Ubuntu 22.
I'm trying to connect to it from lighttpd and get Permission denied error even when I chmod the socket to 777.
...
0
votes
0
answers
78
views
Can't access my public IP outside of the country
Even a month ago everything was working fine, but recently I found out that my Public IP is no longer accessible outside my country. https://fahimscirex.duckdns.org is the link attached to my public ...
0
votes
1
answer
257
views
Lighttpd returning from curl rather than nginx
I have been having issues with being able to reach my websites hosted on my Raspberry Pi on my home network. It was all working until recently and I can't work out what I've done to break things :(
If ...
0
votes
3
answers
440
views
Apache Config Issue/Conflict(?)
Raspian 10 (Buster)
Apache 2.4.38
lighttpd 1.4.53
I previously installed lighttpd and it was/is running w/out issue. Today I installed apache so I can run ownCloud. I went through the installation ...
0
votes
2
answers
1k
views
phpmyadmin: Failed opening required '/usr/share/php/gettext/gettext.inc'
Trying to access phpmyadmin on my centos 7 server,
I get the following error:
Fatal error: require_once(): Failed opening required '/usr/share/php/gettext/gettext.inc' (include_path='.:/usr/share/...
2
votes
1
answer
1k
views
CentOS 7 + Lighttpd, web server not working but running
I have installed lighttpd on my new CENOS 7.
When I'm trying to access my IP, it is loading than eventually says that the site can't be reached, (ERR_CONNECTION_TIMED_OUT).
WHen runnig systemctl ...
0
votes
1
answer
1k
views
Redirect all subdirectory requests to single file with requested directory intact
I want to have a directory on my lighttpd server that will redirect all requests to a main index.php file, but with the PHP to be able to interpret the original request URI.
For example, both www....
0
votes
1
answer
919
views
Can Lighttpd listen to http://localhost when I change the default portnumber?
Is it possible to let lighttpd listen to http://localhost (so no portnumber used in the URL) when I change my default portnumber?
I know this is possible when I use default port 80, but I added ...
2
votes
1
answer
1k
views
Configure Lighttpd to run python script using fastcgi
I have a lighttpd server that I want to run a python application using fastcgi. I followed the example on the lighty homepage, but I can't seem to get lighty to execute the python script. This is my ...
0
votes
1
answer
449
views
lighttpd and slow pages
We have a long and slow cgi-script. Hypothetical example script:
#!/bin/sh
echo "<p>1<p/>"
sleep 1
echo "<p>2<p/>"
sleep 1
echo "<p>3<p/>"
sleep 1
echo "<p>...
1
vote
0
answers
199
views
Python - Unable to start lighttpd (Fastcgi) - Raspbian Stretch
I am trying to build DIY project, based on the instructions from https://github.com/nathanpjones/GaragePi
I was able to successfully have it installed. But when I restarted, I am not able to access ...
1
vote
2
answers
2k
views
File permissions for openssl created files for https web server (lighttpd)
I've created the following files for my lighttpd webserver for https connections:
$ ls -al /etc/lighttpd/ssl
drwxr-xr-x 2 root root 4096 Oct 21 12:51 .
drwxr-xr-x 4 root root 4096 Oct 20 16:04 ..
...
1
vote
1
answer
1k
views
Block requests in lighttpd made with HTTP/1.0 and only allow HTTP/1.1
I have a lighttpd web server that delivers PHP-generated webpages. This server is currently facing a lot of traffic due to a DDoS bot attack, and I am looking for a way to block or mitigate some of ...