|
|
Testing the water
Before you start planning your whole site around SSIs, it
might be a good idea to make sure you have somewhere to host it. Not all
web hosts support SSIs because of the aforementioned performance hit.
So, here's a small file you can upload to test the water:
ssitest.shtml
<HTML>
<HEAD>
<TITLE>SSI Test</TITLE>
</HEAD>
<BODY>
<PRE>
<!--#printenv -->
</PRE>
</BODY>
</HTML>
|
|
Save the file as 'ssitest.shtml' and upload it to your webspace. When
you view the page, one of two things could happen. If you get a page full
of stuff (like this), then "woohoo!",
your server supports SSI. Otherwise you'll get a blank page and I'm afraid
it's time to find another web host (you might be able to badger
the server admin to enable SSI support, but I wouldn't count on it).
|