Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP OpenPix ImageIgniter 3.0 for Domain Commerce: Installation and Administration > Appendix C Netscape Enterprise Server Customization Information

Modifying Services

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

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"
<Object name="default">
...
Service method="(GET|POST)"  type="application/vnd.netfpx"  fn="OpxIIPService"
...
AddLog fn="flex-log" name="access" custom="yes"
...
</Object>

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"
Init fn="opxInitFid"
<Object name="default">
...
Service method="(GET|HEAD)" type="magnus-internal/opxfid" fn="opxProcFid"
...
</Object>

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"
Init fn="opxInitItn"
<Object name="default">
...
NameTrans fn="opxProcItn"
...
</Object>

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"
<Object name="default">
...
Service fn="OpxADService" BuiltinSAF="CM_Get" method="(GET|HEAD)"
...
</Object>

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.