Tags » Lighttpd

Running webpy Projects with Lighttpd (FastCGI)

Running webpy Projects with Lighttpd (FastCGI)

In this tutorial, we will be running web.py from a lighttpd server. Existing online tutorials mainly shows how to write the config file, not fully mentioning how to solve all the weird errors that will pop up all over the place. 503 more words


Lighttpd + SSL on NetBSD

A fast howto to install Lighttpd with SSL enabled.

# Download pkgsrc, where pkgsrc-20xxQy is the stable branch (for example, pkgsrc-2014Q1)
ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-20xxQy/pkgsrc.tar.gz

# Untar it into /usr
tar -xzf pkgsrc.tar.gz -C /usr

# Enable ssl option into mk.conf
echo "PKG_OPTIONS.lighttpd=ssl" >> /etc/mk.conf

# Compile lighttpd
cd /usr/pkgsrc/www/lighttpd
make install
make clean
make clean-depends
cp /usr/pkg/share/examples/rc.d/lighttpd /etc/rc.d/
echo "lighttpd=YES" >> /etc/rc.conf

# Verify if lighttpd uses ssl
$> lighttpd -v
lighttpd/1.4.35 (ssl) - a light and fast webserver
Build-Date: May 11 2014 11:46:34

# Verify if lighttpd user and group have been created. 98 more words
Lost In My Kernel

Web2.0 - Workshop - Tutorial - 4 - Apache - Installation

When you fire your browser and request an URL the URL is looked up in a DNS server and the ip address is picked up. The browser then requests the server at this ip address to serve the request. 206 more words

Engineering And Version Control

Lighttpd - block user agent

In lighttpd we can block or deny access to a specific user agent.

Syntax to block user agent:

$HTTP["useragent"] =~ "User agent name" {url.access-deny = ( "" )} 30 more words