httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Max Dittrich)
Subject Re: [users@httpd] Urgent help required
Date Wed, 25 Feb 2004 23:26:38 GMT
Somraj Bhattacharyya wrote:
> Dear all
> I am quite new with Appache and facing a problem to run some of mine .shtm
> files ( server side includes) in Apache 2.0. I am running the Apache on Red
> Hat Linux 9.
> In my test.shtm file I am including one ssi file with the syntax below,
> <!--#include file="/js_nav_functions.ssi" -->

A cite from ""
says about the value of "file":

| The value is a path relative to the directory containing the current
| document being parsed. It cannot contain ../, nor can it be an
| absolute path. Therefore, you cannot include files that are outside of
| the document root, or above the current document in the directory
| structure. The virtual attribute should always be used in preference
| to this one.

Use 'virtual' instead and remove the leading slash.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message