Installing text files and batch files


If a file with a ". txt" suffix is installed in the "sigma-web" directory, all the text in the file is completely preformatted. Any special HTML characters (such as the "<" and ">" characters) are automatically quoted so that no HTML can be displayed. This is an action similar to that of the standard HTTP server upon encountering a ".txt" file on the system. If a programmer wishes to include any HTML in the file for interpretation by the browser, some other file extension (described below) should be used. If a file contains a ".bat" suffix is installed in the "sigma-web" directory, the file is executed and the output is bracketed with "<pre> and </pre> characters.

Note

this is slightly different from a ".txt" file, in that selected HTML can be coded into the file (such as to change the color of text, as well as perform other functions.) Specific information regarding the "<pre>" tag, and actually preformatted text is available from the HTML standard.

To launch a program that generates HTML, a developer can execute a ".cmd" file, which operates identically to a ".bat" file, but bypasses any generation of "<pre>" HTML tags. This affords an easy and logical way to launch PHP, Ruby, Perl, and other scripts. The working directory for the scripts execution will be the "s-cgi" directory. Care should be given to the setting of the PATHEXT environmental variable to make sure that the proper interpreters are launched.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*