Product Home Page | Developer Site | Version | |
When Sun ONE Active Server Pages is installed on a computer running Sun ONE Web Server (formerly iPlanet Web Server, Enterprise Edition), the following changes are made to the Web server configuration files:
Lines are added to the beginning of the obj.conf file (for Sun ONE Web Server 4.1) or the magnus.conf file (for Sun ONE Web Server 6.0) as follows:
On Solaris:
In obj.conf:
Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib=
"[C-ASP_INSTALL_DIR]/module/sunos5_optimized/netscape_6.x/nes_casp2.sl"
Init fn="caspinit" casplib="[C-ASP_INSTALL_DIR]/asp-[server]-[PORT]"
In magnus.conf:
Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib=
"[C-ASP_INSTALL_DIR]/module/sunos5_optimized/netscape_6.x/nes_casp2.so"
Init fn="caspinit" casplib="[C-ASP_INSTALL_DIR]/asp-[server]-[PORT]"
On Linux:
In obj.conf:
Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib=
"[C-ASP_INSTALL_DIR]/module/linux2_optimized/netscape_6.x/nes_casp2.sl"
Init fn="caspinit" casplib="[C-ASP_INSTALL_DIR]/asp-[server]-[PORT]"
In magnus.conf:
Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib=
"[C-ASP_INSTALL_DIR]/module/linux2_optimized/netscape_6.x/nes_casp2.so"
Init fn="caspinit" casplib="[C-ASP_INSTALL_DIR]/asp-[server]-[PORT]"
The following lines are added to the default object section of obj.conf:
<Object name=default>
NameTrans fn="casptrans"
Service method=(GET|POST) type="chilisoft-internal/active-server-page"
fn="caspreq" casplib="[C-ASP_INSTALL_DIR]/asp-[server]-[PORT]"
</Object>
The following lines are added to the MIME-types file:
type=chilisoft-internal/active-server-page exts=asp,asa
[C-ASP_INSTALL_DIR] resembles: /opt/casp
[SERVER] resembles: netscape
[PORT] resembles: 3000
Support for ASAP WebShow is commented out in the MIME-types file because it also uses the .asp extension:
## by Chili!Soft ASP install: type=application/x-asp exts=asp
Note | Sun ONE Active Server Pages supports only one instance of LoadObjects in the Sun ONE Web Server magnus.conf file. |
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.