User guide
Setting up Business Servers
3-17
Example
Examples of magnus.conf and obj.conf that have been set immediately after installation of Sun ONE
Web Server 6.0 are used to explain how to comment out the servlet configurations.
Example of magnus.conf
#Init fn="load-modules"
shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so"
funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,
NSServletService" shlib_flags="(global|now)"
#Init fn="NSServletEarlyInit" EarlyInit=yes
#Init fn="NSServletLateInit" LateInit=yes
Example of obj.conf
#NameTrans fn="NSServletNameTrans" name="servlet"
#NameTrans fn="pfx2dir" from="/servlet" dir="$docroot/servlet"
name="ServletByExt"
#Service type="magnus-internal/jsp" fn="NSServletService"
#<Object name="servlet">
#ObjectType fn=force-type type=text/html
#Service fn="NSServletService"
#</Object>
#<Object name="jsp092">
#ObjectType fn="type-by-extension"
#ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-
internal/jsp"
#Service fn="NSServletService" type="magnus-internal/jsp092"
#</Object>
#<Object name="ServletByExt">
#ObjectType fn=force-type type=magnus-internal/servlet
#Service type="magnus-internal/servlet" fn="NSServletService"
#</Object>
If invalid environment configuration for business server, and resource shortage have been removed, or
“/” (root path) for protection resource has been deleted, return the servlet configurations commented out
(according to the above examples) to their original state. Servlets can be operated.
If the protection resource has been changed, update access control information. For details about how
to update access control information, refer to “Updating Access Control Information”.