Try OpenEdge Now
skip to main content
WebSpeed Essentials
Configuring WebSpeed : Configuring your Web server : Specifying the location of static files
 

Specifying the location of static files

Static files include HTML, JavaScript, Cascading Style Sheet, application, and graphics files. The Web server can find these files through the use of virtual directories, or it can find them when they are installed under the Web Server's Document Root directory. You choose where to put the static files during the installation of WebSpeed, either copying them to the Document Root Directory or creating a virtual path to them. The actual location of the Document Root Directory depends on your Web server.
Rather than physically moving static files into or below the Document Root, you can set up a virtual directory that points to the directory (install_dir\tty\webtools) that contains the static files. For more information on setting up virtual directories, see Configuring virtual directories for the IIS Web server or Configuring virtual directories for the Apache Web server. Refer to individual product documentation for other Web servers.
The static files for Web applications reside under a relative path structure with main module files separated into subdirectories, as shown in the following table.
Table 1. Directory structure for static files
Directory
Contents
path
Link pages for testing and tools (index.html, default.htm)
path\dhtml
DHTML files: .css, .htm, and .js
path\img
Images
Note: In the table, path can be either a virtual directory that points to install_dir\tty\webtools, or a document_root_dir\ (where document_root_dir is the Document Root directory of your Web server).
Caution: These files are only used for the WebSpeed Workshop. For security reasons, they should not be available in nondevelopment environments.