Sun Microsystems Netscape Enterprise Server Administrator's Manual page 176

Table of Contents

Advertisement

Working with Dynamic Configuration Files
For example, if you selected the base directory inferred from URL translation,
selected .nsconfig for your filename, and chose to search subdirectories, the
following search would occur.
When a user requests the filesystem path
C:\Netscape\server4\docs\icons\gfx\logo.gif, instead of
searching for C:\Netscape\server4\docs\.nsconfig the server would
search all of the subdirectories:
You can also enter a wildcard pattern of file types you want to disable in
directories where dynamic configuration is enabled. To disable CGI programs
and parsed HTML, for example, use * (cgi|parsed-html).
To configure .nsconfig files, perform the following steps:
1.
2.
3.
4.
5.
6.
7.
8.
9.
Writing .nsconfig Files
The .nsconfig files consist of sets of directives that control the server. These
directives are surrounded by Files directives that tell the server which files in
the configuration file's directory the directives apply to. For example:
176 Netscape Enterprise Server Administrator's Guide
C:\Netscape\server4\docs\.nsconfig
C:\Netscape\server4\docs\gfx\.nsconfig
C:\Netscape\server4\docs\gfx\icons\.nsconfig
From the Enterprise Server, choose Server Preferences.
Click the Dynamic Configuration Files link.
Choose a resource from the Resource Picker.
Choose whether to base the directory from the URL or from a specified
directory.
Type the filename.
Choose whether to search only the base directory.
Type the disabled types.
Click OK.
Click Save and Apply.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents