Questions tagged [lighttpd]
33 questions
18
votes
2 answers
Why is lighttpd saying "unknown config-key: accesslog.filename"?
I have created a simply vhost on Lighttpd web server and put these lines on the .conf file.
server.errorlog = "/var/log/lighttpd/error.log"
accesslog.filename = "/var/log/lighttpd/access.log"
I have read error.log and I…
user6841
3
votes
1 answer
Apache vs lighthttpd : different behaviours with mime type
I have written an application, an automatic VPN provisioning web portal in python for Apple devices.
What bugs me is a difference in behaviour between the testing and production server; the former is using Apache, while the latter is using…
Rui F Ribeiro
- 55,929
- 26
- 146
- 227
3
votes
1 answer
Make webserver reload the system wide environment variables
I made changes on the /etc/environment file and want the webserver user www-data to benefit from them without rebooting the server.
It seems that, in order to reload the /etc/environment file, I only need to login¹.
Therefore, I'm trying to make the…
Jav
- 960
- 3
- 11
- 23
3
votes
1 answer
Share environment variables with www-data
I have a set of environment variables, which is created with a shell script config called from my ~/.bashrc.
Having a new user www-data running a local webserver (with lighttpd), I need it to benefit from those environment variables. More…
Jav
- 960
- 3
- 11
- 23
2
votes
1 answer
./configure, syntax error: unexpected token (lighttpd)
I want to build a modified version of lighttpd.
I follow this tutorial:
Downloading and building the H264 Streaming Module for Lighttpd (version 2)
This is what I've done so far:
apt get install lighttpd
apt get install automake autoconf libtool
cd…
Lama
- 125
- 1
- 6
2
votes
1 answer
Browser (HTTP client) with support of bzip2 or lzma2 compression?
What browsers (HTTP clients) support HTTP compression using bzip2 or lzma2? (HTTP compression for page requests)
I have only heard of Firefox patch, but I am not sure if it actually supports compression on page…
Armen
- 349
- 1
- 3
- 11
2
votes
1 answer
xinetd cannot launch lighttpd
I want to launch lighttpd when someone tries to connect to port 80.
I started with a simple test script to see if anything was working:
/etc/xinetd.d/www
service www
{
disable = no
socket_type = stream
protocol = tcp
…
JakobJ
- 157
- 6
1
vote
0 answers
Lighttpd rewrite rule
Why does a rewrite rule like this not work:
url.rewrite-if-not-file = (
"^parameter/(.*)$" => "/somefunnyfile.php?someparameter=$1"
)
... but a rule like this does work:
url.rewrite-if-not-file = (
"^/(.*)$" =>…
Leandros
- 712
- 2
- 7
- 16
1
vote
1 answer
Process (mplayer) doesn't read from named pipe when started from webserver (lighttpd)
tl;dr
$ sudo -u www-data mplayer -slave -input file=/srv/mplayer.fifo -playlist /srv/list &
$ lsof /srv/mplayer.fifo | tail +2
mplayer 21059 www-data 4u FIFO 179,2 0t0 2359331 /srv/mplayer.fifo
$ cat…
steffen
- 121
- 6
1
vote
2 answers
How to configure lighttpd to redirect HTTP to HTTPS?
I want to redirect HTTP requests to my website to HTTPS when the client browser supports it. My web server is lighttpd.
a3nm
- 8,978
- 5
- 28
- 36
1
vote
1 answer
Pass traffic from one network interface to another
I have a project where I have 4x RPiZ plugged into a single RPi4. The RPiZs appear as Ethernet over USB devices as network interfaces ethpi1, ethpi2, ethpi3, and ethpi4 with IP addresses 10.0.11.2, 10.0.12.2, 10.0.13.2, and 10.0.14.2 respectively.…
Rusty
- 113
- 3
1
vote
1 answer
How to troubleshoot lighttpd service not starting up?
I am using Ubuntu 18.04.4 LTS.
I have installed lighttpd 8.28.
I have created the folder
- r-x 2 www-data www-data 4096 Mar 16 15:41 httpd
I am pointing my server.document-root to /home/httpd
When I restart the service.
systemctl restart…
tannoy connect
- 169
- 4
- 13
1
vote
1 answer
Getting HTTPS web interface for transmission with Lighttpd reverse proxy
i'm trying to get HTTPS web interface for transmission. Currently i can access transmission web interface with http://myip:8081
and what i want is to connect with https://myip/transmission . i already setup my lighttpd with TSL/SSL so i can access…
MR RsO
- 21
- 4
1
vote
1 answer
How can I block a network with lighttpd?
I already block some simple ip lighttpd but I want to block a whole network. I've problem to understand what is this network address for example 10.0.0.0/8 and/or 172.16.2.0/24 network?
What is this /8 or /24 means? I use $HTTP["remoteip"] to add my…
Micromega
- 4,201
- 5
- 27
- 34
1
vote
1 answer
Setup subdomain on a lighttpd server
I am running OSMC on my raspberry p3 and was trying to set up a webpage for internal use.
I installed lighttpd and when I try to get to "osmc.local" the lighttpd page shows up just fine.Now I wanted to set up a subdomain, say "xyz.osmc.local".
I…
flide
- 41
- 4