Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Ubuntu 12.04)

falko's picture

This guide explains how you can create advanced virtual hosts on a lighttpd web server on Ubuntu 12.04 that are stored in a MySQL database. The method described here does not use the lighttpd mod_mysql_vhost module, and unlike mod_mysql_vhost (which allows you to store only the hostname and document root of a vhost in a database), this method allows to store individual configuration directives for each vhost in the MySQL database.

http://www.howtoforge.com/creating-advanced-mysql-based-virtual-hosts-on-lighttpd-ubuntu-12.04

Chrooting Apache2 With mod_chroot On Debian Squeeze

falko's picture

This guide explains how to set up mod_chroot with Apache2 on a Debian Squeeze system. With mod_chroot, you can run Apache2 in a secure chroot environment and make your server less vulnerable to break-in attempts that try to exploit vulnerabilities in Apache2 or your installed web applications.

http://www.howtoforge.com/chrooting-apache2-with-mod_chroot-on-debian-squeeze

Serving CGI Scripts With Nginx On Ubuntu 12.04

falko's picture

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Ubuntu 12.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.

http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-ubuntu-12.04

Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.04)

falko's picture

This guide explains how you can use mod_mysql_vhost to create simple virtual hosts on a lighttpd web server on Ubuntu 12.04. With mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL database. Currently, you can store the domain and the document root in the MySQL database which results in very simple virtual hosts. If you need more directives for your vhosts, you'd have to configure them in the global section of lighttpd.conf, which means they'd be valid for all vhosts. Therefore, mod_mysql_vhost is ideal if your vhosts differ only in the domain and document root.

Running New Shopware Version 4.0.x On Nginx (LEMP) On Ubuntu 12.04

falko's picture

This tutorial shows how you can install and run the new Shopware version 4.0.x on an Ubuntu 12.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). Shopware is a feature-rich ecommerce platform; I will use the Community Edition here which is free. nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

http://www.howtoforge.com/running-new-shopware-version-4.0.x-on-nginx-lemp-on-ubuntu-12.04

Pages

Subscribe to debianHELP RSS