[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] SSI on RaQ4



||>I have SSI checked for a virtual site and am using "include
||>virtual" to have a page include a file with suffix "shtm".
||>No go!  Does the Raq4 require specific suffix, additional
||>setup or what?

1. The file that you are including doesn't need any type of extension.
Sometimes it's useful, though - like if it has its own SSI commands in it
and also needs to be parsed (your server will hate you for this).
2. Name your page that is calling the included file .shtml.
IE: index.shtml calls the file 'included_file' which has all of the header
info in it.

This may be redundant, but make sure that since you are using SSI's VIRTUAL
function,
you are pathing the included file from the root directory, rather than using
a relative
path.
include virtual="/full/path/to/included_file"
If the file you're including is in the same directory (or a subdirectory of
the same directory),
you can use FILE rather than VIRTUAL.
include file="included_file" or
include file="subdirectory/included_file"

Hope this helps.
Carrie Bartkowiak