«
item10

The Design Workshop

Server Side Includes (SSI)

SSIgrab5
« Ð ð

Upload both the .shtml page and the ‘includes’ text file to the appropriate places on the Web server, and view the page from there using your Web browser. The two files should be merged into a single page, and if you view the code from your browser you’ll see the composite result. Note that SSI content merging doesn’t work when previewed locally from your own hard disk. The merging process is handled by the Web server software, so you must always upload the the files in order to see things working correctly. (You could, in theory, get the copy of Apache built into OS X to handle SSI served locally, but most will find it simpler just to upload for testing.)