# This is a sample app conf file

# You can create an empty app conf file in the appconfdir, in which case
# the name will be used to find the app in the appbindir, and everything
# else will default.

# Execpath specifies the path for the exec call.
# Absolute if starts with /, else relative to appbindir
# as specified in main conf file.
# If not specified, defaults to same as app conf file name, which will
# then be relative to appbindir.
# The arguments to the app come from the args as passed to use from the
# httpd server, which come from the URL, so can be pretty much anything.
# You might want to use a shell in appbindir script to run your real program,
# so that you have more control over the command line arguments.
#execpath test

# Header specifies how much garbage htimp should tack on before the output
# from the application on each reply.  One of the following:
# none - add nothing, app knows about mime headers and everything
# mime - add the mime header, app knows the rest
# html - add mime header and initial html lines, app knows how to put
#        in <isindex> and other stuff where it wants
# plaintext - dumb app, outputs plaintext, we add complete mim+html header.
#header plaintext

# What to use as the title string if header==html
#title appname

# A subtitle to place after the title and before the <ISINDEX> (if there).
# This string is passed through the formatting, so you can use % stuff in it.
#subtitle "<h2>Subtitle</h2>"

# Formatout says that we should look for special % sequences in the app's
# output and replace them with our stuff (e.g. replace %H with job handle)
#formatout 0

# When reading output from the application, we look for this magic string
# to determine when to stop reading from the app and return the results to
# the querant.  This is typically the program's prompt string.
lastout foo

# Setting striplastout tells htimp to throw away the magic lastout string,
# rather than passing it back through to the client.
striplastout 1

# How long to wait before giving up when trying to read a response from app.
#readtimeout 60

# Same as global killtimeout, but applies only to jobs running this app.
#killtimeout 60

# Same as global cleanuptimeout, but applies only to jobs running this app.
#cleanuptimeout 300
