[thelist] absolute path for SSI file

Anthony Baratta anthony at baratta.com
Thu Jun 21 15:08:04 CDT 2007


Are these web sites all on the same server? Or maybe a set of servers with in the same security context?

If they are on the same server, you could setup an includes directory that is outside of the web directory structure and include the file using the file directive, or you can setup virtual directories within each web service and call the files using the virtual include directive.

Lastly, if you have PHP on all the web servers, you can use the PHP function called include which allows you to grab via HTTP.

Hope that all makes sense.

-----Original message-----
From: Pamela Corey pamela.corey at nist.gov
Date: Thu, 21 Jun 2007 12:07:44 -0700
To: thelist at lists.evolt.org
Subject: [thelist] absolute path for SSI file

> I'm trying to use a SSI in a template that will be used by many 
> offices/divisions which have their own directory structures.  I want 
> to use an include file but I need to give it an absolute path -  such 
> as: <!--#include virtual="http://www.nist.gov/test/header.txt" --> - 
> versus <!--#include virtual="includes/header.txt" --> - but it is not 
> working.  Is it possible to use an absolute path for a SSI?

More information about the thelist mailing list