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).
Questions tagged [lighttpd]
34 questions
28
votes
2 answers
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 the Raspberry Pi. How can I get Python handling…
Mark Ingram
- 889
- 3
- 11
- 18
15
votes
3 answers
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 lightweight server Or a package I have not heard…
Sandor Dosa
- 531
- 1
- 5
- 17
14
votes
4 answers
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 error output into the error log (…
Mark Ingram
- 889
- 3
- 11
- 18
8
votes
1 answer
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 error: Unpacking lighttpd (from…
Simon Whitaker
- 499
- 4
- 8
3
votes
1 answer
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 my URL browser. Now I try to access my raspberry…
FrancNovation
- 131
- 1
- 4
3
votes
3 answers
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 the command line, the refresh works perfectly:…
s3bi
- 160
- 1
- 2
- 7
3
votes
1 answer
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); ?> but this will give me only 127.0.0.1 I want the same…
s3bi
- 160
- 1
- 2
- 7
2
votes
2 answers
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 without problem. Normal HTML pages are running…
R. Warning
- 21
- 1
- 1
- 2
2
votes
2 answers
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 /var/log/ . When I reboot my Raspberry Pi, for some…
Exeleration-G
- 303
- 1
- 3
- 11
2
votes
0 answers
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 configuration from the pi-holes web admin in lighttpd is…
ʃʈɑɲ
- 121
- 5
2
votes
2 answers
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 webcam picture from a browser. I tried lighttpd…
Peter S
- 251
- 5
- 15
2
votes
0 answers
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 restarting the server and the pi itself. It only serves…
Sub 6 Resources
- 161
- 1
- 1
- 7
2
votes
2 answers
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.php from my browser, I get a 500 response from…
s3bi
- 160
- 1
- 2
- 7
2
votes
3 answers
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 for forward and reverse motions and tried to call…
Ron Thomas
- 363
- 2
- 5
- 14
1
vote
0 answers
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 called, one image should be delivered to the browser.…
Wolli
- 11
- 2