Tags » Lighttpd

A lightweight web server with Lighttpd, PHP and SQLite3 on a Raspberry Pi

Many consumer devices (set top boxes, routers, media centers) use lightweight embedded web servers as user interface. In this walkthrough, I’ll show you how to install a complete web server in a… 1,666 more words


Lighttpd both http and https

We can configure both http & https on lighttpd webserver.

Use following configuration to serve both http & https requests:

server.document-root = "/var/www"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
accesslog.filename = "/var/log/lighttpd/access.log"
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80

#Configuration for https
$SERVER["socket"] == ":443" {
  ssl.engine = "enable"
  ssl.pemfile = "/etc/lighttpd/certs/www.example.com.pem"
} 40 more words

Linghttpd - unknown config-key: accesslog.filename

Recently I faced wearied scenario where I am unable to view access logs of lighttpd.

Even though after adding accesslog.filename = “/var/log/lighttpd/access.log” line in lighttpd.conf file logs are not getting updated in lighttpd.conf file… 67 more words


installing INGInious on Microsoft Azure

I learned about the existence of INGInious during my trip in Belgium. INGInious is an external code grader that can be integrated with edX. It is written in Python, uses docker, and runs on Linux CentOS server. 494 more words


wview Weather Station On The Raspberry Pi 2

Wview is weather station software used to collect, store, process, and publish weather data from a hardware based weather station. Wview is open source and Unix based so there are versions for Linux, BSD, Mac OSX, and more. 2,046 more words


Nagios 3 On A Raspberry Pi 2

Nagios 3 is a popular choice for network host and service monitoring. This open source project can be relatively simple to setup and have working quickly. 1,246 more words


lighttpd - allow/block ip range

To allow some or multiple ip rages use below code:

$HTTP["remoteip"] =~ "192\.168\.1\.*|10\.2\.20\.*" {
    server.document-root = "/var/www"

Above code will allow only 192.18.1.* and 10.2.20.* ip rages and blocks all other ip’s. 28 more words