Working with Dynamic Configuration Files
172
Netscape Enterprise Server Administrator’s Guide
For Unix:
Init fn="load-modules” funcs=”htaccess-init,htaccess-find”\
shlib=”server_root/plugins/htaccess/htaccess.so”
Init fn=”htaccess-init”
For Windows NT:
Init fn="load-modules" funcs="htaccess-init,htaccess-find" \
shlib="server_root/plugins/htaccess/bin/htaccess.dll"
Init fn="htaccess-init"
These lines load and initialize the module when the server is started.
server_root
is the path to your server root.
To activate
.htaccess
file processing for all directories managed by the
server, add the
PathCheck
directive:
PathCheck fn="htaccess-find"
to the default server object, which is delimited by:
<Object name="default"
...
</Object
Generally, the directive to activate
.htaccess
processing should be the last
PathCheck
directive in the object.
To activate
.htaccess
file processing for particular server directories, place
the
PathCheck
directive in the corresponding object definition in
obj.conf
.
If you want to name your
.htaccess
files something other than
.htaccess
,
you must specify the filename in the
PathCheck
directive using the following
format:
PathCheck fn="htaccess-find" filename="filename"
Replace
filename
with the filename you are using.
After editing the configuration file, stop and start your server. Apply your
configuration file changes in the Enterprise Server by clicking the Apply button.
Subsequent accesses to the server will be subject to
.htaccess
access control
in the specified directories.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...