That should work fine.

 

Should be simple to test too.

 

I assign several additional server scoped vars directly in Witango.ini
without issue.

 

Since Witango is executing the fetch directly, IIS/apache has nothing to do
with it.

 

You can also reference a windows network resource:

 

\\server_name\share\folder\dsn.inc
<file:///\\server_name\share\folder\dsn.inc> 

 

Just be sure you double check your backslash usage, and you are correct in
that the wintago.ini file uses backslash as an escape character, so they
need to be doubled up.

 

Robert

 

  _____  

From: Fogelson, Steve [mailto:stevefogel...@askics.net] 
Sent: Friday, July 17, 2009 2:31 PM
To: witango-talk@witango.com
Subject: Witango-Talk: Locating files outside of the web site root

 

Can I define a system variable and include it in witango.ini that defines a
location (folder) outside the IIS root? IE:

 

HIDDENFOLDER=C:\\Hidden

 

And then access files within this folder with the following:

 

<@assign method$DSNTest value="<@dom value='<@include "<@var
system$HIDDENFOLDER>/Inc/DSN.inc">'>">

 

Or is there a different or better way to do this?

 

Thanks,

 

Steve Fogelson

"In God We Trust"

 



________________________________________________________________________

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

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

Reply via email to