Before we check out the various features of the Apache configuration file provided by HTML5 Boilerplate, let us set up a local Apache server, so that we can see these features in action.
We will look at the installations of Apache on Mac, Windows, and Linux.
You do not have to do anything special; Apache is already installed. But to use it for this project, ensure you copy all the files to the website's folder in your home folder (
/~<username>). Edit the
/etc/apache2/httpd.conf file to change the following highlighted code:
<Directory /usr/share/web> AllowOverride None Options MultiViewsFollowSymlinks Order allow,deny Allow from all Header Set Cache-Control no-cache </Directory>
To the following: