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).

35 questions
27
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
  • 879
  • 3
  • 11
  • 18
14
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
  • 511
  • 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
  • 879
  • 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
  • 509
  • 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…
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 but this will give me only 127.0.0.1 I want the same…
s3bi
  • 160
  • 1
  • 2
  • 7
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
  • 293
  • 1
  • 3
  • 10
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 but…
Peter S
  • 251
  • 4
  • 14
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
  • 153
  • 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…
Wolli
  • 11
  • 2
1
vote
3 answers

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-the-web/ I've been able to get it working, though…
mitim
  • 171
  • 1
  • 9
1
vote
1 answer

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 screen. Execute the obstacle avoidance program The…
EHSAN KHAN
  • 21
  • 7
1
2 3