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.
Содержание 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 ...