|
Posted by Jim S on 03/01/07 16:53
On Thu, 01 Mar 2007 09:38:49 -0500, Jonathan N. Little wrote:
> Andy Dingley wrote:
>> On 28 Feb, 21:35, Jim S <j...@jimXscott.co.uk> wrote:
>>
>>> AND I don't think my server supports them.
>>
>> Have you _tried_? It's the easiest way to find out.
>>
> Note though Jim, most likely to get SSI to work many servers are
> configured such that the file extension needs to be 'shtml' not 'html'
> and are restricted to the 'virtual' function on includes:
>
> ## test.shtml ##
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <title>Test SSI</title>
> </head>
> <body>
> <p>Next paragraph is included</p>
>
> <!--#include virtual="insert.html" -->
>
> </body>
> </html>
>
> ## insert.html ##
>
> <p>I am the included file</p>
>
> Note: on the included bits, don't duplicate HTML, HEAD, BODY, ...
> elements... just put in the bits you need to make a complete document.
I had tried but someone else asked yesterday and got the reply from support:
"SSI is not available on the old basic PWP, and currently there is no
advanced tier available as an upgrade"
When I tried the above it showed the above HTML as the page itself :o?
--
Jim S
Tyneside UK
http://www.jimscott.co.uk
[Back to original message]
|