HTML and CSS Reference
In-Depth Information
Setting up the Apache server
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 fea-
tures in action.
Installing Apache
We will look at the installations of Apache on Mac, Windows, and Linux.
Mac
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 follow-
ing 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:
<Directory /usr/share/web>
AllowOverrideAll
Options MultiViewsFollowSymlinks
Order allow,deny
Allow from all
Header Set Cache-Control no-cache
</Directory>
Search WWH ::




Custom Search