lighttpd

SSL with Lighttpd

Use SSL encryption on your Lighttpd webserver.

Lighttpd installation
Lighttpd needs to be configured and compiled with SSL enabled:

./configure --with-openssl
make
make install

After lighty has been installed, you can confirm that it has been compiled with ssl enabled:

lighttpd -v

SSL Configuration

Technology:

Web Stats

Study the traffic to your website with a web stats analysis program.

Two popular Open Source packages for analysing web server log files are Awstats and Webalizer.

There is a detailed comparison at the Awstats website.

Technology:

Webserver configuration

Instructions for configuring Drupal sites on Apache, Lighttpd and nginx.

Apache Virtual Host Configuration
Enable the virtual host config file in /usr/local/apache2/conf/httpd.conf by uncommenting it:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Edit /usr/local/apache2/conf/extra/httpd-vhosts.conf and add an entry for your new Drupal install:

ServerName www.domain.com
#ServerAlias *.domain.com
DocumentRoot /var/websites/projectname/drupal-5.10

Options Indexes FollowSymLinks
AllowOverride All

lighttpd

Installing PHP with the lighttpd web server.

Compiling and Installing
Configure PHP:

./configure \
--with-config-file-path=/usr/local/etc/ \
--enable-fpm \
--enable-pdo \
--enable-mbstring \
--with-curl \
--with-bz2 \
--with-zlib \
--enable-gd \
--with-jpeg \
--with-webp \
--with-openssl \
--enable-opcache \
--with-pdo-mysql=/usr/local/mysql

If it configures correctly, make and install the binaries:

Technology:

Lighttpd

Prerequisites
lighttpd requires the headers for libprce and zlib. If the lighttpd configure script can't find them, you'll need to install them.

yum install pcre2-devel zlib-devel bzip2-devel
yum install autoconf automake libtool m4 pcre pcre-devel pkg-config

Installation
Download the latest version of the lighttpd source (1.4.76 at time of writing):

Technology:

Pages

Subscribe to RSS - lighttpd

Recent Updates

  • 1 year 1 week ago
    1.27.2 update
  • 1 year 3 weeks ago
    Drupal 10/11 config
  • 1 year 3 weeks ago
  • PHP
    1 year 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 1 year 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.