Working with Dynamic Access Control Files
Enabling .htaccess from magnus.conf
To manually enable your sever to use the
server's
Open
1.
After the other
2.
(Optional) Make the final line read:
3.
Init fn="htaccess-init"[groups-with-users=yes]
Click File /Save.
4.
Open
5.
Add the PathCheck directive as the last directive in the object.
6.
a.
194
Netscape Enterprise Server Administrator's Guide • November 2001
file to load, initialize, and activate the plug-in.
magnus.conf
n the
magnus.conf i
directives, add the following lines:
Init
For UNIX/Linux:
Init fn="load-modules" funcs="htaccess-init,htaccess-find"
server_root
shlib="
/plugins/htaccess/htaccess.so"
NativeThread="no"
Init fn="htaccess-init"
For Windows NT:
Init fn="load-modules"
funcs="htaccess-init,htaccess-find,htaccess-register"
server_root
shlib="
/plugins/htaccess/htaccess.dll"
NativeThread="no"
Init fn="htaccess-init"
For HP:
Initfn="load-modules"
funcs="htaccess-init,htaccess-find,htaccess-register"
shlib="<server_root>/plugins/htaccess/htaccess.sl"
NativeThread="no"
Init fn="htaccess-init"
.
obj.conf
To activate
.htaccess
virtual server, add the
file:
object.conf
<Object name="default">
...
.htaccess
server_root /https- server_name /config
file processing for all directories managed by a
directive to the default object in the
PathCheck
, you need to first modify the
file.