To restrict write access to .htaccess files, create a configuration style for
them, and apply access control to that configuration style. For more
information, see Chapter 12, "Working With Configuration Styles" and Chapter
14, "Controlling Access to Your Server."
Converting Existing .nsconfig Files to .htaccess Files
The Netscape Enterprise Server includes a script for converting your existing
.nsconfig files to .htaccess files. To convert your files, at the command
prompt, enter the path to Perl on your system, the path to the script, and the
path to your obj.conf file. For example you might type the following (it
should all be on one line when you type it):
server_root\install\perl server_root/plugins/htaccess/htconvert server_root/
https-server_name/config/obj.conf
The script converts all .nsconfig files to .htaccess files, but does not
delete the .nsconfig files.
Supported .htaccess Directives
The following .htaccess directives are supported in this release:
• AuthName
• AuthType (The only AuthType supported is Basic.)
• Limit
• order
• deny
• allow
• require
• AuthGroupFile
• AuthUserFile (This has different formats depending on your usage. See
below.)
Working with Dynamic Configuration Files
Chapter 7, Configuring Server Preferences 173
Need help?
Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?
Questions and answers