Chapter 7, Configuring Server Preferences
171
Working with Dynamic Configuration Files
Before you can enable a custom error response, you must create the HTML file
to send or the CGI program to run in response to an error. After you do this,
enable the response in the Network Settings page in the Enterprise
Administration Server.
Working with Dynamic Configuration Files
Server content is seldom managed entirely by one person. You may need to
allow end users to access a subset of configuration options so that they can
configure what they need to, without giving them access to the Enterprise
Server. The subset of configuration options are stored in dynamic configuration
files. Two types of dynamic configuration files are supported by Netscape
Enterprise Server:
.htaccess
and
.nsconfig
. You can enable
.nsconfig
files in Enterprise Server; you have to manually enable
.htaccess
files.
Note
There is no support for LDAP or the 3.0 Netscape user databases in the
dynamic configuration files. You should not use dynamic configuration files if
you use LDAP. You must use NCSA-style user databases to use
.htaccess
files. You must use either NCSA-style user databases or Enterprise 2.x DBM-
format user databases with
.nsconfig
files. For more information on user
databases, see
Managing Netscape Servers with Netscape Console.
If you already use
.nsconfig
files, you might want to continue using them.
However, Netscape also provides a utility for converting your
.nsconfig
files
to
.htaccess
files.
Using .htaccess Files
The files that support
.htaccess
are in the directory
server_root
/plugins/htaccess
. These files include a plug-in that
enables you to use
.htaccess
files and a script for converting
.nsconfig
files to
.htaccess
files.
Activating .htaccess checking
To use
.htaccess
files, you must first modify the server’s
obj.conf
file to
load, initialize, and activate the plug-in. At the top of the
obj.conf
file, after
the other
Init
directives, add the following lines:
Содержание 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 ...