Freepages-Help-L ArchivesArchiver > Freepages-Help > 2011-02 > 1298156385
From: Barry Carlson <>
Subject: [FreeHelp] Configure WAMP Apache Server for SSI
Date: Sun, 20 Feb 2011 11:59:45 +1300
Following some fruitless discussion a couple of days ago on how to get
the WAMP Apache server to parse Includes files at http://localhost, I
have installed the package and sorted what needs to be done to the
httpd.conf file which is accessible directly from the server icon in the
Windows systems tray.
Click on the WAMP icon in the tray, navigate to Apache/httpd.conf and
click (once). The configuration file will now display complete with a
lot of instruction on what and what not to do. The rows prefixed with #
are comments, and various directives contained throughout the narrative
can be made active by removing the # immediately to their left.
Find the following:-
# The Options directive is both complicated and important. Please see
# for more information.
Options Indexes FollowSymLinks
Change the line above to :- Options Indexes FollowSymLinks Includes
For the next scroll down about 80% -
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Change the lines above to :- AddType text/html .shtml .shtm .html .htm
INCLUDES .shtml .shtm .html .htm
Close the file and when prompted, select SAVE.
Click on the WAMP server icon and select Restart All Services.
A HTML file loaded to a directory in locahost and containing SSI/XSSI
directives will, when called, be parsed by the server.
My system is set up so that the localhost is at c:/wamp/www/
and my parent directory is at c:/wamp/www/home
For security and simplicity, I have not made any attempt to provide
external access to the localhost, but this can be done using a domain
name server IP address setup. This means the http:localhost is secure
behind my firewall. In my case there is no need to FTP data to the
localhost, and the normal Explorer methods of copying files is used.
Note:: There are other methods of achieving the same result, e.g.
xbithack, but the above is simple.
|[FreeHelp] Configure WAMP Apache Server for SSI by Barry Carlson <>|