Sun Java System Web Server 7.0 Update 1 Administrator's Guide

Modify the obj.conf

Edit obj.conf file to configure FastCGI specific requests using the plug-in SAFs described in the earlier sections.

An example of modified obj.conf file is shown below:


# Copyright 2006 Sun Microsystems, Inc. All rights reserved.

# Use is subject to license terms.


# You can edit this file, but comments and formatting changes

# might be lost when you use the administration GUI or CLI.

<object name = "default">

		AuthTrans fn="match-browser" browser="*MSIE*" 
		NameTrans fn="ntrans-Java EE" name="Java EE"
		NameTrans fn="pfx2dir" from="/mc-icons" 
						dir="/ws7/lib/icons" name="es-internal"
		NameTrans fn="assign-name" from="/fcgi/*" name="fcgi.config"


<Object name="fcgi.config">

		AuthTrans fn="auth-fastcgi" app-path="/fastcgi/apps/c/simpleAuth" 
		Service fn="responder-fastcgi" 


Note that FastCGI SAFs can be invoked in different ways by defining different objects for different URL patterns or mapping the SAFs to different MIME types.

For more information on obj.conf configuration and syntax, refer to the Administration Configuration File Reference Guide.