Web Server

Want to support HowtoForge? Become a subscriber!
 

Chrooting Apache2 With mod_chroot On Debian Squeeze

Chrooting Apache2 With mod_chroot On Debian Squeeze

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.

Serving CGI Scripts With Nginx On Ubuntu 12.04

Serving CGI Scripts With Nginx On Ubuntu 12.04

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.

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

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

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.

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

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

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.

Installing The PHP WebDAV Extension On Debian Squeeze

Installing The PHP WebDAV Extension On Debian Squeeze

This article shows how you can install the PHP WebDAV extension for PHP5 on a Debian Squeeze system. The PHP WebDAV extension allows easy access to remote resources through the DAV protocol from PHP scripts.

Installing mod_geoip for Apache2 On Debian Squeeze

Installing mod_geoip for Apache2 On Debian Squeeze

This guide explains how to set up mod_geoip with Apache2 on a Debian Squeeze system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server to allow geo targeting.

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 17

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 17

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 17 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

This tutorial explains how to use the GeoIP module with nginx to block visitors by country. This is made possible by the GeoIP database which maps users' IP addresses to countries. nginx must be compiled with the HttpGeoipModule to use the GeoIP database.

How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 12.04

How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 12.04

This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Ubuntu 12.04. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.

Userdir Access On ISPConfig 3 Server

Userdir Access On ISPConfig3 Server

This tutorial describes how you can enable userdir based access on your ISPConfig3 server running apache2. At the end, your clients will be able to access their site via http://yourdomain.tld/~clientdomain.tld

first page
previous page
...
14
...
next page
last page