Skip to main content

Questions tagged [lighttpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
29 views

Trying to set up self signed certificates on other devices

To keep it short. I have a web server running (lighttpd on my Raspberry Pi), I want to be able to HTTPS to this IP from another device (PC - arch). For this I am trying to just use self-signed ...
arizona525's user avatar
0 votes
1 answer
6k views

Howto restrict IPv6 listening address in lighttpd on Debian

I try to make a lighttpd only available from localhost on a Debian system. The following lines are in /etc/lighttpd/lighttpd.conf server.port = 80 server.bind = "127.0.0.1" server.use-ipv6 = ...
Micha's user avatar
  • 177
0 votes
1 answer
104 views

lighttpd: ajax request prints the content of cgi script instead of running it

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
218 views

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/...
steffen's user avatar
  • 121
1 vote
2 answers
1k views

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's user avatar
  • 9,237
0 votes
1 answer
2k views

lighttpd reverse proxy

I have two raspberry pi servers running. These were set up with DietPi. The one server is used as a NextCloud server. The other (new) server is running weewx. Both use lighttpd as the webserver. Each ...
aterhorst's user avatar
  • 101
1 vote
1 answer
1k views

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

lighttpd won't start even with the right 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) ...
Jason's user avatar
  • 1,744
0 votes
1 answer
270 views

How to compile lighttpd .tar file using cygwin to run executable file in Windows 10

I have downloaded lighttpd tar file and I need it to compile it using cygwin for Windows 10 machine. I did some extensive research on how to compile lighttpd files using cygwin in google but most of ...
krillavilla's user avatar
1 vote
1 answer
1k views

Lighttpd when running python CGI reports - 403 forbidden - Ubuntu

I am starting a lighttpd service in my ubuntu.My idea here is to serve a python script through CGI. But, when I do this I get 403 forbidden? Please help how to debug and what am I missing here? vi /...
tannoy connect's user avatar
1 vote
1 answer
5k views

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

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 ...
MR RsO's user avatar
  • 21
3 votes
1 answer
287 views

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 ...
Rui F Ribeiro's user avatar
0 votes
2 answers
5k views

Hostapd and lighttpd - manually download?

Is there any alternative to command apt-get install *name of package* When I type the same command apt-get install *name of package* from which website that packages are downloaded? Is it possible to ...
user avatar
2 votes
1 answer
1k views

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 ...
flide's user avatar
  • 51
0 votes
1 answer
249 views

What Are The Advantages of Using A Dedicated Web Server? [closed]

To elaborate, what are the advantages of using a dedicated web server (i.e. lighttpd or nginx) and running programs (i.e. Swift / Python) as directed by the web server? Specifically, how does that ...
Brandon Bradley's user avatar
1 vote
3 answers
522 views

Webserver root in /home/user

My websites are currently hosted on a Debian non LVM VPS in the /dev/vda1 partition in /var/www directory. The root partition /dev/vda1 on my VPS is for 99% full. The home/ partition on /dev/vda6 ...
kzpm's user avatar
  • 63
0 votes
1 answer
787 views

Problem setting up adminer with lighttpd

How can I set up Adminer with lighttpd? I installed Adminer from the repository with "sudo apt-get install adminer". And ran the following commands. sudo wget "http://www.adminer.org/latest.php" -O /...
Kake_Fisk's user avatar
  • 101
0 votes
1 answer
432 views

How do I create a simple script to kill uhttpd and then start lighttpd?

I have a router running uhttpd by default and there is a process using lighttpd I would like to run instead. Since both processes share the same port, I would like to kill uhttpd then start up ...
user avatar
0 votes
1 answer
2k views

Setting www-data (lighttpd) as sudoer not working

I have installed lighttpd with fast-cgi on the raspberry pi. When running a python script that requires root priveleges, I get the following error: RuntimeError: No access to /dev/mem. Try running ...
yogur's user avatar
  • 101
3 votes
1 answer
340 views

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 ...
Jav's user avatar
  • 1,010
3 votes
1 answer
2k views

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 ...
Jav's user avatar
  • 1,010
0 votes
4 answers
4k views

Portable Linux webserver that does not require sudo, install, and internet

I have a corporate Red Hat Server that does not have sudo, package manager, and internet network. I need a webserver client, and have tried installers and binaries of httpd and lighttpd but references ...
George's user avatar
  • 353
2 votes
1 answer
658 views

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 ...
Armen's user avatar
  • 359
1 vote
1 answer
89 views

Install wordpress package always require apache?

Debian's WordPress package depends on apache|httpd, lighttpd also provides httpd, but when I try to install WordPress, apt requires me to install apache2! What I should do? I want to use only ...
Frost Phantom's user avatar
1 vote
1 answer
642 views

lighttpd2 and php under fast-cgi returns 403 "Permission denied"

lighttpd2 is under development but it's faar enough to where i want to start using it. I've overcome the hurdle of installing it and getting vhost etc working. PHP 5.6.6 (cgi-fcgi) (built: Feb 20 ...
Torxed's user avatar
  • 3,667
0 votes
0 answers
269 views

Can spawn-fcgi be user for tcp/udp server

Spawn-fcgi by lighty labs It only uses unix socket functions socket(), bind(), connect(), listen(). Is it possible to use it not for FastCGI server, but TCP or UDP server?
happy_marmoset's user avatar
2 votes
1 answer
702 views

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 ...
JakobJ's user avatar
  • 157
1 vote
0 answers
531 views

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

./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 ...
Lama's user avatar
  • 125
1 vote
1 answer
996 views

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 /...
Cybercartel's user avatar
  • 4,221
0 votes
1 answer
674 views

lighttpd fastcgi with python and php on the same virtual host

I have a python application running on the server, which should process any urls except /wiki. The /wiki url should show a php application. My virtual host looks like this: $HTTP["host"] == "domain....
janoliver's user avatar
  • 1,776
1 vote
1 answer
704 views

How to block the execution of files owned by root through lighttpd?

I've created a group and a user to run lighttpd. I would like to run from the web server only files that have these permissions (myuser:mygroup). I don't want to run files with root permissions. Is ...
user avatar
17 votes
2 answers
16k views

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/...
user avatar