Apache Web Server

Latest Article:

Debian Lenny - Installing Passenger with Apache

Phusion's Passenger (mod_rails) is an exciting development in serving your Ruby on Rails application with the Apache web server.

Incredibly simple to install and use, you can have a rails application up and running in no time. You don't even have to worry about ports or setting up a proxy to another server.

The Apache Web Server is the workhorse of the Internet - even after all these years, she still powers just over half all websites (netcraft.com).

These Apache tutorials take you from the basics of installing and configuring Apache for simple and multiple websites to more advanced techniques.

Apache:

How to serve multiple domains: A commonly asked question is how to serve multiple domains. Let's take a look at the processes involved.

Introduction to Virtual Hosts: Once the principles behind name based Virtual Hosts are understood, creating and configuring them is much easier.

Multiple Hosts Layout: A consistent layout is used (if possible) between different OS and web server articles. Let's look at this layout and how it works.

Virtual Hosts Permissions: One thing that can be a cause for concern is the subject of permissions. Let's look at how they are set for virtual hosts.


Ubuntu Intrepid Specific:

Ubuntu Intrepid - Apache and PHP install: Installing Apache 2.2.9 and PHP 5.2.6 on an Ubuntu Intrepid Slice is simple using the 'aptitude' package manager.

Ubuntu Intrepid - Apache Configuration Layout: Ubuntu Intrepid uses a 'Debian' style layout for the Apache install. Let's look at what that means.


Ubuntu Intrepid - Apache Configuration #1: Now we can take a look at the main Intrepid apache2.conf and ports.conf files and see what the settings mean and what effect they have.

Ubuntu Intrepid - Apache Configuration #2: Continuing from the first Apache configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Intrepid - Apache Virtual Hosts #1: Now Apache is installed and running we can configure it to host multiple sites by creating our own custom virtual hosts.

Ubuntu Intrepid - Apache Virtual Hosts #2: Continuing from the previous article, we now look in detail at the settings we can use in the vhosts file.


Ubuntu Intrepid - using mod_rails to serve your application: Now passenger is installed, let's see how to serve our Ruby on Rails application.


Ubuntu Intrepid - Apache Rails and Thin: Now we've installed and looked at configuring the thin web server, let's create an Apache vhost to proxy our requests.


Ubuntu Intrepid - Apache, Rails and mongrels: Now we have mongrels and mongrel_clusters installed, we can move onto create an Apache vhost for our rails application.


Ubuntu Hardy Specific:

Ubuntu Hardy - Apache and PHP install: Installing Apache 2.2.8 and PHP 5.2.4 on an Ubuntu Hardy Heron Slice is simple using the 'aptitude' package manager.

Ubuntu Hardy - Apache Configuration Layout: Ubuntu Hardy Heron uses a 'Debian' style layout for the Apache install. Let's look at what that means.


Ubuntu Hardy - Apache Configuration #1: Now we can take a look at the main Hardy Heron apache2.conf and ports.conf files and see what the settings mean and what effect they have.

Ubuntu Hardy - Apache Configuration #2: Continuing from the first Apache configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Hardy - Apache Virtual Hosts #1: Now Apache is installed and running we can configure it to host multiple sites by creating our own custom virtual hosts.

Ubuntu Hardy - Apache Virtual Hosts #2: Continuing from the previous article, we now look in detail at the settings we can use in the vhosts file.


Ubuntu Hardy - using mod_rails to serve your application: Now passenger is installed, let's see how to serve our Ruby on Rails application.


Ubuntu Hardy - Apache Rails and Thin: Lets look at creating an Apache vhost to proxy requests for our Ruby on Rails application to the 'thin' web server.


Ubuntu Hardy - Apache, Rails and mongrels: Now we have mongrels and mongrel_clusters installed, we can move onto create an Apache vhost for our rails application.


Debian Lenny Specific:

Debian Lenny - Apache and PHP install: Installing Apache 2.2.9 and PHP 5.2.6 is a breeze using aptitude. See how to install them and the follow the articles for configuration.

Debian Lenny - Apache Configuration Layout: Debian uses a slightly different layout than a 'classic' Apache install. Let's investigate.


Debian Lenny - Apache Configuration #1: Let's look at the main Debian Lenny apache2.conf file and see what the settings mean and what effect they have.

Debian Lenny - Apache Configuration #2: Continuing from the first Debian Lenny Apache configuration article, this one looks at some further settings in the main apache2.conf file.


Debian Lenny - Virtual Hosts #1: Now we have Apache up and running we can host multiple domains by creating virtual hosts.

Debian Lenny - Virtual Hosts #2: Continuing from the previous Lenny vhosts article, we now look in detail at the settings we can use in the vhosts file.


Debian Lenny - Passenger with Apache: So our Debian Lenny Slice has a nice Rails stack, how are we going to serve the content? Enter mod_rails (Passenger).


Debian Etch Specific:

Debian Etch - Apache and PHP install: Installing Apache 2.2.3 and PHP 5.2 on a Debian Etch Slice is a breeze using aptitude. Follow the next articles for configurations.

Debian Etch - Apache Configuration Layout: Debian uses a slightly different layout than a 'classic' Apache install. Let's investigate.


Debian Etch - Apache Configuration #1: Let's look at the main Debian apache2.conf file and see what the settings mean and what effect they have.

Debian Etch - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Debian Etch - Virtual Hosts: Now we have Apache up and running we can host multiple domains by creating virtual hosts.

Debian Etch - Virtual Hosts #2: Continuing from the previous article, we now look at some more settings that are available to us in the vhosts file.

Debian Etch - SSL and Virtual Hosts: How about securing the login area of an administration panel? No problem, let's install a self signed certificate.


Debian Etch - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is not as complicated as it may seem. Let's take a look.

Debian Etch - Mongrel clusters and surviving a reboot: Following from the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.


Ubuntu Gutsy Specific:

Ubuntu Gutsy - Apache and PHP install: Installing Apache 2.2.4 and PHP 5.2.3 on an Ubuntu Feisty Slice is simple using aptitude.

Ubuntu Gutsy - Apache Configuration Layout: Ubuntu Gutsy uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu Gutsy - Apache Configuration #1: Let's look at the main Gutsyu apache2.conf file and see what the settings mean and what effect they have.

Ubuntu Gutsy - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Gutsy - Virtual Hosts #1: Now Apache is installed and running we can configure it to host multiple sites by creating virtual hosts.

Ubuntu Gutsy - Virtual Hosts #2: Continuing from the previous vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu Gutsy - SSL and Virtual Hosts: How about securing the login area of an administration panel? No problem, let's configure a vhost for just that.


Ubuntu Gutsy - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is one of the ways of serving a Rails application.

Ubuntu Gutsy - Mongrel clusters and surviving a reboot: Following the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.


Ubuntu Feisty Specific:

Ubuntu Feisty - Apache and PHP install: Installing Apache 2.2 and PHP 5.2 on an Ubuntu Feisty Slice is simple using aptitude.

Ubuntu Feisty - Apache Configuration Layout: Ubuntu uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu Feisty - Apache Configuration #1: Let's look at the main Ubuntu apache2.conf file and see what the settings mean and what effect they have.

Ubuntu Feisty - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Feisty - Virtual Hosts: Now Apache is installed and running we can configure it to host multiple sites by creating virtual hosts.

Ubuntu Feisty - Virtual Hosts #2: Continuing from the previous vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu Feisty - SSL and Virtual Hosts: Let's secure the login area of an administration panel. We can do this by installing a self signed certificate.


Ubuntu Feisty - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is one of the ways of serving a Rails application.

Ubuntu Feisty - Mongrel clusters and surviving a reboot: Following the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.

Ubuntu LTS Specific:

Ubuntu LTS - Apache and PHP install: Installing Apache 2.0.55 and PHP 5.1.2 on an Ubuntu LTS Slice is straight forward using apt-get.

Ubuntu LTS - Apache Configuration Layout: Ubuntu uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu LTS - Apache Configuration #1: Let's look at the main LTS apache2.conf file and see what the settings mean and what effect they have.

Ubuntu LTS - Apache Configuration #2: Continuing from the first configuration article, this one examines some more settings in the main apache2.conf file.


Ubuntu LTS - Virtual Hosts: Now Apache is installed and has been optimised we can configure it to host multiple sites by creating virtual hosts.

Ubuntu LTS - Virtual Hosts #2: Continuing from the first vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu LTS - SSL and Virtual Hosts: We can secure the login area of an administration panel by creating and installing a self signed certificate.


CentOS specific:

CentOS - Apache and PHP install: Installing Apache 2.2 and PHP 5.1 on a CentOS Slice is simple using 'yum'. Let's go ahead and install the basics.


CentOS - Apache Configuration #1: Let's look at the main CentOS httpd.conf file and see what the settings mean and what effect they have.

CentOS - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main httpd.conf file..


CentOS - Virtual Hosts #1: Now Apache is installed and has been optimised we can configure it to host multiple sites by creating virtual hosts.

CentOS - Virtual Hosts #2: Continuing from the first vhosts article, we now look in detail at the available settings in the vhosts file.


CentOS - Using mod_rails to serve your application: Now passenger is installed, let's see how to serve our Ruby on Rails application.


CentOS - Apache, Rails, and thin: Now we've installed and looked at configuring the thin web server, let's create an Apache vhost to proxy our requests.


CentOS - Apache, Rails, and mongrels: Now we have mongrels and mongrel_clusters installed, we can move onto create an Apache vhost for our rails application.

Please feel free to request articles or comment with any suggestions or ideas of your own.

PickledOnion