Bill,

Does your org_path and org_include variables point to a directory
*outside* the document root of the server?  It shouldn't matter if I 
don't user domain variables and just type the full path, right?

I am unable to include a file outside the web server document root even
after changing my httpd.conf file so it does not use VHosts and including
"c:/inc/head.tml" (a two-line <html><body> header and path/file that
doesn't necessitate the Window ~' junk).  This does makes sense to me, and
works in accordance with the Meta Tag help description of <@include> :
"The FILE attribute is a slash-separated path from the Web server root."

I guess what I'm getting at is Apache does permit you to setup an Alias or
ScriptAlias so that you may access files (cgi-bin, etc) outside the Server
or Virtual Host Document root.  At the point the @include tag is being
interpreted by WAS though, the file path in the <@include file= appears to
be pulled from a "slash-separated path from the Web server root".  I'd
really like to find a way to allow multiple Apache Virtual Hosts to all
pull files from a common directory in the "default virtual host" (main)
web server root.

Have you really included files using a "C:\" path to a file in the
@INCLUDE FILE=.  If so, I'm doing something very wrong.

Thanks for the help.
- Matt



[email protected] on Monday, January 31, 2005 at 1:00 PM -0500
wrote:
>Matt,
>
>The witango include
>> <@include file="/sharedfiles/ocmFooter.tml"> 
>is an absolute reference, so the path is wrong.
>
>I usually set up a domain variable with an absolute path prefix for my  
>includes a la:
>
><@INCLUDE  
>FILE="@@domain$org_path/@@domain$org_includes/admin_index.html">
>
>where:
>@@domain$org_path="C:/Progra~1/Apache~1/Apache2/htdocs"
>@@domain$org_includes="ocm_includes"



________________________________________________________
Matt Muro                                      [EMAIL PROTECTED]
Harvard University                           phone:  617.998.8522
Division of Continuing Education       fax:      617.495.9176

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to