When you install the OpenPix software, the installation script
modifies the NES obj.conf and mime.types files to enable OpenPix
services (IIP, FID, ISA-to-NSA, and Adaptive Delivery).
This section includes reference information about the changes
that are made for each service. You can use this information if
you need to manually disable or re-enable a service.
You must restart NES and load the modified obj.conf file to
apply your changes. See the NES Administrator's Guide for
instructions.
IIP |
 |
IIP delivers tiled images and other information about an image.
In order to perform this service, obj.conf needs to have the following
directives:
Init access="/opt/ns-enterprise3/https-hpdocp16/logs/access.OPX.080798" \ format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \ \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% \ %Req->srvhdrs.content-length%\"%Req->reqpb.opx-image-info%\"" fn="flex-init" |
Init fn="load-modules" funcs="OpxIIPInit,OpxIIPService" \ shlib="/opt/OpenPix/lib/OpxIIPNsa.sl" |
Init LateInit="yes" fn="OpxIIPInit" |
Service method="(GET|POST)" type="application/vnd.netfpx" fn="OpxIIPService" |
AddLog fn="flex-log" name="access" custom="yes" |
In addition to these changes to the obj.conf file, IIP requires
the following line in the mime.types file to respond to the iip
suffix:
type=application/vnd.netfpx exts=iip,opxiip |
FID |
 |
The FID service collects image, stitches them together to
form a flat image, compresses this image, and returns it as a complete
JPEG file. In order to perform this image delivery, the obj.conf
file needs to have the following directives:
Init fn="load-modules" funcs="opxInitFid,opxProcFid" \ shlib="/opt/OpenPix/lib/libopxfid.sl" NativeThread="no" |
Service method="(GET|HEAD)" type="magnus-internal/opxfid" fn="opxProcFid" |
In addition to the changes to the obj.conf file, FID requires
the following line in the mime.types file to respond to the fid
suffix:
type=magnus-internal/opxfid exts=opxfid,fid |
ISA-to-NSA |
 |
The ISA-to-NSA name translation function helps migrate HTML
pages from DLL-based URLs to suffix-based URLs. To perform this
translation, the obj.conf file needs to have the following directives:
Init fn="load-modules" funcs="opxInitItn,opxProcItn" \ shlib="/opt/OpenPix/lib/libopxitn.sl" NativeThread="no" |
NameTrans fn="opxProcItn" |
Adaptive Delivery |
 |
The Adaptive Delivery service requires the insertion of the
following directives into the obj.conf file:
Init fn="load-modules" shlib="/opt/OpenPix/lib/OpxADNsa.sl" funcs="OpxADInit,OpxADService" NativeThread="no" |
Init fn="OpxADInit" LateInit="yes" |
Service fn="OpxADService" BuiltinSAF="CM_Get" method="(GET|HEAD)" |
Placement of the first two Init directives must immediately
precede the Init directive for loading the ns-agentInit module.
Note that the first Adaptive Delivery Init directive spans multiple
lines, so all subsequent lines a space or tab. The placement of
the Adaptive Delivery Service directive must immediately precede
the Service directive for the CM_Get function.