Forum OpenACS Q&A: Response to Error: can't read "query" no such variable while....

Hi again! Well, here is my ACS ini file. I'm sure that we are near the solution! :)

Thank's to all!

#
# AOLServer ACS Virtual Server Configuration File Template
#
# $Id: template-ini.ini,v 1.4 2001/06/19 18:22:20 bruno Exp $

ns_section ns/db/drivers

ns_param ora8 ora8.so

ns_section ns/db/pool/main

ns_param MaxIdle 1000000000

ns_param MaxOpen 1000000000

ns_param Driver ora8

ns_param Connections 4

ns_param DataSource {}

ns_param User polv

ns_param Password polvpw

ns_param Verbose On

ns_param ExtendedTableInfo On

ns_section ns/db/pool/subquery

ns_param MaxIdle 1000000000

ns_param MaxOpen 1000000000

ns_param Driver ora8

ns_param Connections 4

ns_param DataSource {}

ns_param User polv

ns_param Password polvpw

ns_param Verbose On

ns_param ExtendedTableInfo On

ns_section ns/db/pool/log

ns_param MaxIdle 1000000000

ns_param MaxOpen 1000000000

ns_param Driver ora8

ns_param Connections 3

ns_param DataSource {}

ns_param User polv

ns_param Password polvpw

ns_param Verbose On

ns_param ExtendedTableInfo On

ns_section ns/db/pools

ns_param main main

ns_param subquery subquery

ns_param log log

ns_section ns/parameters

# This used to handled with a file under acs/parameters, but

# parameters are now stored in the database.

ns_param User nsadmin

ns_param Group web

ns_param ServerLog /usr/local/aolserver/log/polv-error.log

ns_param Home /usr/local/aolserver

ns_param StackSize 500000

ns_param MaxKeepAlive 5

ns_section ns/threads

# use more than 1 processor (Solaris)

ns_param SystemScope on

ns_section ns/server/polv

ns_param PageRoot /web/polv/www

ns_param DirectoryFile {index.tcl,index.adp,index.html,index.htm }

ns_param Webmaster mailto:ca06334@salleURL.edu

ns_param NoticeBgColor {"#ffffff"}

ns_param EnableTclPages On

ns_param NotFoundResponse /global/file-not-found.html

ns_param ServerBusyResponse /global/busy.html

ns_param ServerInternalErrorResponse /global/error.html

ns_param MaxThreads 20

ns_param MaxBusyThreads 15

ns_param MaxWait 2

ns_section ns/server/polv/db

ns_param Pools main,subquery,log

ns_param DefaultPool main

ns_section ns/server/polv/adp

ns_param Map /*.adp

ns_param DefaultParser fancy

ns_section ns/server/polv/module/nslog

ns_param EnableHostnameLookup Off

ns_param File /usr/local/aolserver/log/polv.log

ns_param LogCombined On

ns_param LogRefer Off

ns_param LogUserAgent Off

ns_param MaxBackup 7

ns_param RollDay *

ns_param RollFmt %Y-%m-%d-%H:%M

ns_param RollHour 0

ns_param RollOnSignal On

ns_param RollLog On

ns_section ns/server/polv/module/nsperm

ns_param model Small

ns_param enablehostnamelookup Off

ns_section ns/server/polv/module/nssock

ns_param timeout 120

ns_param Address 172.16.6.22

ns_param Hostname draco.salleURL.edu

ns_param Port 15000

# [ns/server/polv/module/nsssl]

# Address=172.16.6.22_ssl

# Hostname=draco.salleURL.edu

# CertFile=AOL_HOME/servers/polv/cert.pem

# KeyFile=AOL_HOME/servers/polv/key.pem

# Port=15000_ssl

ns_section ns/server/polv/modules

ns_param nsperm nsperm.so

ns_param nssock nssock.so

ns_param nslog nslog.so

ns_param nssha1 nssha1.so

ns_param nscache nscache.so

ns_param nsrewrite nsrewrite.so

# nsssl=nsssle.so

ns_section ns/server/polv/MimeTypes

ns_param Default text/plain

ns_param NoExtension text/plain

ns_param .pcd image/x-photo-cd

ns_param .prc application/x-pilot

ns_section ns/server/polv/tcl

ns_param Library /web/polv/tcl

set servername            "polv"

set serverdesc            "Pol Vilarmau TFC Server"

ns_section "ns/server/polv/acs/redirect"

ns_param Pattern "/pvt/address-book|/address-book"

ns_section "ns/servers"
ns_param $servername $serverdesc