Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

DecisionScript Server Directories

If you decide to change the test Web site or any of the program files in your domain, you first need to understand how the program files are set up. Here is a description of the program file directories as they were installed.

Install put all the program files in the directory

C:\Program Files\Vanguard\Dscript Server 4

The Dscript Server directory contains the subdirectories: Decision, DomainRoot, Envelopes, and Install.

Decision and Install contain program files. In most cases you will have no need to change the contents of these directories.

DomainRoot is the root directory for the test Web site that is installed by the setup program. If you choose to use this directory to hold your Web site files, just replace the existing files with your own. If, in the setup process, you told the server that your files are in a different directory, then the contents of this directory will no longer be used.

Envelopes contain all the standard envelope files available to scripts. Envelope files are used to define headers, footers, and formatting information applied to every screen presented to your Web site visitors. If you create custom envelopes, you can place them in the same directory as the script file, or in the Envelopes directory. If you place a custom envelope in the same directory as a script file, only that script will have access to the envelope. If you place the envelope file in the Envelopes directory, it will be available to all scripts.

Note that all files in the Envelopes directory are available to your Web site visitors, just as if this directory were in your domain root path. This is because the DecisionScript server recognizes a special URL code as a pointer into this directory. You can append ?Envelopes to the end of any URL reference and it will be interpreted by the server as a request to ignore the actual path information and look in the Envelopes directory for the file. This feature is necessary so that you can include banners and other graphics in envelope files and these links will function properly no matter where the script using that envelope is running.

For example, if you start a script using the URL

http://www.domain.com/orders/order.dsb

and this script uses an envelope that includes a reference such as

<img src="banner.jpg">

then the server will expect to find banner.jpg using the path

DomainRoot/orders/banner.jpg

Since it is more convenient to place graphics files used by an envelope with the envelope file, you can replace the <img> tag with the following

<img src="banner.jpg?envelopes">

and the server will know to look for banner.jpg in the Envelopes directory no matter where the .dsb file is located.

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend