Tags » Lighttpd

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
Ubuntu

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

Lighttpd

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

Azure

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

Linux

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

Linux

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

Lighttpd

Viglen MPC-L Debian web server install

The first task after installing Debian on my Viglen MPC-L was to get a web server up and running. As the MPC is a low powered device I looked at a number of “light” web servers and the two most commonly mentioned were… 115 more words

Tech