Sun Java System Web Server 6.1 SP11 Administrator's Configuration File Reference

Example

The following example uses variables defined in the server.xml file for the send-cgi parameters. For more information about defining variables, see the Sun Java System Web Server 6.1 SP11 Administrator’s Configuration File Reference.

<Object name="default">
...
NameTrans fn="pfx2dir" from="/cgi-bin" 
dir="/home/foo.com/public_html/cgi-bin" name="cgi"
...
</Object>

<Object name="cgi">
 ObjectType fn="force-type" type="magnus-internal/cgi"
 Service fn="send-cgi" user="$user" group="$group" dir="$dir" 
chroot="$chroot" nice="$nice"
</Object>