Working with Dynamic Configuration Files
176
Netscape Enterprise Server Administrator’s Guide
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:
C:\Netscape\server4\docs\.nsconfig
C:\Netscape\server4\docs\gfx\.nsconfig
C:\Netscape\server4\docs\gfx\icons\.nsconfig
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.
From the Enterprise Server, choose Server Preferences.
2.
Click the Dynamic Configuration Files link.
3.
Choose a resource from the Resource Picker.
4.
Choose whether to base the directory from the URL or from a specified
directory.
5.
Type the filename.
6.
Choose whether to search only the base directory.
7.
Type the disabled types.
8.
Click OK.
9.
Click Save and Apply.
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:
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...