Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lighttpd]

a highly optimized, open source web server, lighttpd requires minimal CPU and memory resources while still supporting CGI interfaces to other programs/languages (e.g. PHP, Python, Perl).

1
vote
1answer
233 views

Uninstalled Lighttpd, installed apache and PHP. PHP not executing

Title says it all. Lighttpd was automatically installed by RaspAP, a wifi web GUI not being part of Raspbian repository. But I require Apache. Uninstalled Lighttpd, Installed apache with PHP & ...
0
votes
1answer
312 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 ...
2
votes
1answer
2k views

AVAHI Daemon doesn't work on RPI

I have installed lighttpd on my RPI 3 : sudo apt-get install lighttpd I have managed to access the web server from /home/pi/www And it works, I can find my Hello World when I entered 192.168.2.31 in ...
1
vote
0answers
24 views

How to set access rights for lighttpd using python scripts (cgi) which uses temporary files

My problem is: I have a running lighttpd web server. The files are stored in \var\www, also a python script, which can be executed to get an image from the raspi camera. Every time the script is ...
1
vote
1answer
1k views

“404 not found” error when requesting Python with Lighttpd through CGI

I've installed lighttpd and gotten it to serve /var/www/index.html just fine, but I haven't gotten it to run a Python script yet. I enabled CGI and set it's match case and directory as instructed in ...
1
vote
1answer
46 views

LLMP server tutorial

I have searched Google for an answer but cant find an up to date tutorial for creating a LLMP server (Lighttpd instead of Apache). I find one follow it and think I'm getting somewhere and its a year ...
1
vote
1answer
139 views

Controlling Raspberry pi3 Wirelessly with HTML (Lighttpd)

I've been working on a Obstacle avoidance robot using Ultrasonic and IR sensors. The scope of my project is to execute my program over the air. Control the robot's movement using mouse or touch ...
1
vote
1answer
1k views

Running cgi scripts with lighttpd

On my Raspberry Pi Zero-W I like to control my GPIO in and outputs with a webserver. I chose lighttpd as server since I can use cgi scrips with c++. But my setup has issues. I configured lighttpd ...
0
votes
3answers
74 views

Can I connect raspberry pi server to external webserver and access it via a domain? [closed]

I have installed lighttpd server on my raspberry pi to use it on local network. I want to access that webpage globally with a domain. My friend has its own external linux based web server. Can I use ...
0
votes
0answers
465 views

Can't access to motion from internet

I'm trying to make a server with motion , lighttpd and cgi scripting bash, everything is fine excepted from outside of my network (internet). Those are my files and log. Somebody can help me please? I ...
0
votes
0answers
104 views

RasPi not reachable from Android phone

I've been strugling with this problem for quite some time now, and i'm at my wit's end. I don't even have any idea what i could try to be looking for. I have a raspi running with raspbian lite and ...
1
vote
3answers
2k views

some config help: lighttpd and fastcgi stuck on running the same python script

First, I should mention I'm pretty new to working with the pi, the os, lighttpd, fastcgi, etc. I've been following this: http://davstott.me.uk/index.php/2013/03/17/raspberry-pi-controlling-gpio-from-...
22
votes
2answers
39k views

How to get Python to work with Lighttpd?

I've got Lighttpd setup on my Raspberry Pi, but I'd like to get server-side code working now. I'm familiar with PHP, but I figure I should try Python as it's supposed to be the "go to" language for ...
0
votes
1answer
1k views

How to install onlyoffice document server on raspberry pi?

I have been trying to install the only office document server for 4 days now. I have tried using the docker method. Everything appear to go right with the docker method, but when I go to http://...
8
votes
3answers
16k views

Performance comparison of RPi 3 web servers: Apache, Nginx, and Lighttpd

Has anyone done any real performance comparison testing on RPi 3 on popular web servers: Apache2 -- the most prevalent server Nginx -- the server that claims to be best performer Lighttpd -- the most ...
0
votes
2answers
691 views

dpkg error when trying to install mysql-server

I'm running a lighttpd web server on my Pi and I'm trying to add php and mysql support. I'm currently trying to install mysql-server with the command 'sudo apt-get install mysql-server' which ...
12
votes
4answers
6k views

How to include RPi.GPIO in a python CGI script with lighttpd?

I've recently setup python to work with lighttpd via CGI (see here). But the minute I go to include RPi.GPIO, the script stops executing (I'm assuming because no HTML gets output), but there is no ...
7
votes
1answer
5k views

How do I install lighttpd (lighty) on Debian “squeeze”?

How do I install lighttpd on my Raspberry Pi? I tried running sudo apt-get install lighttpd, which works fine on a regular Debian 'squeeze' installation, but on a Raspberry Pi I get the following ...
0
votes
2answers
573 views

Accessing GPIO from lighttpd server not working

I have installed lighttpd on the Pi, and configured it to run web.py using fastcgi. Accessing python scripts from the browser works. But when I add the code to access GPIO, it fails with the following:...
1
vote
0answers
958 views

Pi-Hole Lighttpd

Does anyone know how I can use the pi-holes created lighttpd server with another application? I don't want to install Apache next to lighttpd... Or change the default ports.. It seems like the ...
2
votes
2answers
3k views

Hosting Webserver with 3G connection

My Pi 2 is logging temperature and humidity, and is connected to a PiNoir Camera. The Pi 2 is connected to the internet via a 3G USB Modem. I'd like to view my logged data (RRDtool Database) and a ...
2
votes
0answers
169 views

PHP stopped working after installing sendmail on raspberry pi

My PHP is not working after I installed sendmail on the raspberry pi. PHP is still installed. I checked using php -v on the command line. My lighttpd server is just not serving php. I've tried ...
3
votes
2answers
12k views

refresh chromium browser by shell script with xdotool via PHP

I want to refresh the browser, like pressing the F5 or Ctrl+F5 key on the keyboard with a shell script. I´m new in writing shell scripts so i aks you to help me with this: when I type in this into ...
1
vote
1answer
94 views

Setting up a WebServer on the Raspberry PI - Suggestions on approach [closed]

This is what I am trying to accomplish: I am doing imaging diagnostics outdoors using a RPI 2 and a DSLR camera (to which the Pi connects and controls via gphoto2). I have a bunch of python scripts ...
3
votes
1answer
246 views

How to display Raspberry´s local IP Adress on a HTML site?

I run raspberry with a strating webbrowser in kiosk mode and want to display the local ip-adress of my raspberry. How can I do this? I Use PHP (httpd) I tried with <?php print_r($SERVER); ?> ...
2
votes
3answers
9k views

PHP + PYTHON + LIGHTTPD + Raspberry Pi GPIO to control the Robotic Arm

I was able to control one arm of an OWI-535 (Maplin) Robot Arm using GPIO pins and python programming (via L293 driver) , so I tried to do the same using a web page created in PHP. Created buttons ...
2
votes
2answers
970 views

How can I stop Raspbmc from removing my directories at reboot?

This has happened to me multiple times, using either nginx or lighttpd as a webserver. Nginx and lighttpd create certain directories and files for logging errors and visitors. These are located in /...
0
votes
2answers
2k views

No-ip redirects to router config page instead of lighttpd server

I port forwarded my router to redirect traffic on ports 80 and 22 (ssh) to 192.168.1.123 I then set up no ip and set the update client to run on every boot. However, when I visit my no ip host name, I ...
2
votes
2answers
3k views

Error 500 for access to webserver page

I have two files stored in /var/www/ pi@babaloo /var/www/test $ ls -l total 8 -rwxrwxrwx 1 pi pi 123 Nov 8 00:23 refresh.php -rwxrwxrwx 1 pi pi 989 Nov 5 17:41 share.php when i try to open refresh....
1
vote
1answer
1k views

Why does lighttpd fail to install on Raspberry pi?

Here's what I try : pi@raspberrypi ~ $ sudo apt-get update W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/main/binary-armhf/Packages 401 Unauthorized pi@raspberrypi ~ $ ...