![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 126](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653126.webp)
Creating and Using Custom SAFs
126
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
You also need to define objects that contain the
Service
directives that run the
animations and specify the
speed
parameter.
Reconfigure the Server
After modifying
obj.conf
, you need to reconfigure the server. See “Dynamic
Reconfiguration,” on page 22 for details.
Test the SAF
Test your SAF by accessing your server from a browser with a URL that triggers
your function. For example, if your new SAF is triggered by requests to resources
in
http://
server-name
/animations/small
, try requesting a valid resource that
starts with that URI.
You should disable caching in your browser so that the server is sure to be
accessed. In Navigator you may hold the shift key while clicking the Reload button
to ensure that the cache is not used. (Note that the shift-reload trick does not
always force the client to fetch images from source if the images are already in the
cache.)
You may also wish to disable the server cache using the
cache-init
SAF.
Examine the access log and error log to help with debugging.
<Object name="small_anim">
Service fn=do_small_anim speed=40
</Object>
<Object name="fullscreen_anim">
Service fn=do_big_anim speed=20
</Object>
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...