Working with Dynamic Access Control Files
194
Netscape Enterprise Server Administrator’s Guide • November 2001
Enabling .htaccess from magnus.conf
To manually enable your sever to use the
.htaccess
, you need to first modify the
server’s
magnus.conf
file to load, initialize, and activate the plug-in.
1.
Open
magnus.conf i
n the
server_root/https-server_name/config
file.
2.
After the other
Init
directives, add the following lines:
❍
For UNIX/Linux:
Init fn="load-modules" funcs="htaccess-init,htaccess-find"
shlib="
server_root
/plugins/htaccess/htaccess.so"
NativeThread="no"
Init fn="htaccess-init"
❍
For Windows NT:
Init fn="load-modules"
funcs="htaccess-init,htaccess-find,htaccess-register"
shlib="
server_root
/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"
3.
(Optional) Make the final line read:
Init fn="htaccess-init"[groups-with-users=yes]
4.
Click File /Save.
5.
Open
obj.conf
.
6.
Add the PathCheck directive as the last directive in the object.
a.
To activate
.htaccess
file processing for all directories managed by a
virtual server, add the
PathCheck
directive to the default object in the
object.conf
file:
<Object name="default">
...
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...