Hi Dossy,

Thanks very much for your help earlier, we managed to solve earlier issues
with the AOLserver errors, it seems that the tcl startup file which worked
fine on a Linux system, was not compatable with running on the Solaris
system.
However, I'm having an issue with language encoding and delivery of html
content to the browser, which appears in parts as jumbled content, funny
characters such as like 'B[]' appear instead of regular apostrophes.
Originally the database was exported from an Oracle 8.1.7 database using
US7ASCII, and now we're using an Oracle 8.1.7 datbase set to use UTF8. I've
set NLS_LANG=AMERICAN_AMERICA.UTF8, but this has'nt changed anything. Also I
don't think there has been any corruption of data during encoding conversion
during the export.
Can I specifically enter some parameters in the tcl startup script that
would be able to interpret data pulled out of the database in UTF8, and
delivered to the browser as US7ASCII; or would we have to change the
encoding scheme on the database?

Kind Regards,

Gabriel


>From: Dossy <[EMAIL PROTECTED]>
>Reply-To: AOLserver Discussion <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [AOLSERVER] quick question, please help!
>Date: Thu, 29 Nov 2001 15:49:27 -0500
>
>Gabriel,
>
>Was this the same nsd.tcl that you used (exactly the same,
>I mean) on your Linux setup?  Or, did you create a new
>nsd.tcl for your Solaris setup?
>
>-- Dossy
>
>
>On 2001.11.29, gf b <[EMAIL PROTECTED]> wrote:
> > Hi Dossy,
> >
> > Here is the output as follows:
> >
> >
> > bash-2.03$ nm -A /usr/local/aolserver/bin/nsd8x | grep
> > Ns_SetRequestAuthorizeProc
> > /usr/local/aolserver/bin/nsd8x:0000000000026298 T
>Ns_SetRequestAuthorizeProc
> > bash-2.03$
> >
> > bash-2.03$ more /usr/local/aolserver/conf/warrenl.tcl
> > #
> > # Translated on Tue Aug 28 10:44:13 BST 2001
> > # from .ini format with bin/translate-ini
> > #
> > # AOLServer ACS Virtual Server Configuration File Template
> > #
> > # Replace these variables with the correct values...
> > # Variable to Replace            Suggestion
> > # --------------------------+----------------------
> > # ${service_db_user} | service_name
> > # ${service_db_pass} | database_password
> > # ${aol_home}               | /home/aol30
> > # ${serv_short_name}        | service_name
> > # ${serv_short_desc} | a description of your service
> > # ${serv_email}             | email-address of maintainer
> > # ${acs_home}                  | /web/service_name
> > # ${address}        | your ip address
> > # ${hostname}       | your dns name
> > # ${httpport}               | what port to use (80 by default)
> > # ${address}_ssl    | disabled by default
> > # ${hostname}_ssl       | disabled by default
> > # ${httpport}_ssl           | disabled by default
> >
> > set httpport                    80
> > # The hostname and address should be set to actual values.
> > set hostname                    www.sportbusiness.com
> > set address                     10.83.53.125
> > set service_db_user             "warren"
> > set service_db_pass             "#####"
> > set aol_home                    "/usr/local/aolserver"
> > set serv_short_name             "warren"
> > set serv_short_desc             "Sportbusiness Corporate website"
> > set serv_email                  "[EMAIL PROTECTED]"
> > set acs_home                    "/www/warren"
> >
> >
> >
> > 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 sbi
> > ns_param User ${service_db_user}
> > ns_param Password ${service_db_pass}
> > ns_param Verbose Off
> > 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 sbi
> > ns_param User ${service_db_user}
> > ns_param Password ${service_db_pass}
> > ns_param Verbose Off
> > 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 sbi
> > ns_param User ${service_db_user}
> > ns_param Password ${service_db_pass}
> > ns_param Verbose Off
> > 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
> > ns_param User nsadmin
> > ns_param Group nsadmin
> > #ns_param ServerLog ${aol_home}/log/${serv_short_name}-error.log
> > ns_param ServerLog /www-var/aolserver/log/${serv_short_name}-server.log
> > ns_param LogRoll on
> > ns_param LogMaxBackup 15
> > ns_param Home ${aol_home}
> > ns_param StackSize 500000
> > ns_param auxconfigdir ${acs_home}/parameters
> > ns_param MaxKeepAlive 50
> > ns_param KeepAliveTimeOut 30
> > ns_param ListenBackLog 32
> > ns_param shutdowntimeout 20
> > ns_param DNSCache off
> > ns_param PidFile /var/run/nspid.warren
> >
> > ns_section ns/threads
> > # use more than 1 processor (Solaris)
> > ns_param SystemScope on
> >
> > ns_section ns/servers
> > ns_param ${serv_short_name} ${serv_short_desc}
> >
> > ns_section ns/server/${serv_short_name}
> > ns_param PageRoot ${acs_home}/www
> > ns_param DirectoryFile {index.tcl, index.adp, index.html }
> > ns_param Webmaster ${serv_email}
> > 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 25
> > ns_param MaxBusyThreads 20
> > ns_param MaxWait 2
> >
> > ns_section ns/server/${serv_short_name}/db
> > ns_param Pools main,subquery,log
> > ns_param DefaultPool main
> >
> > ns_section ns/server/${serv_short_name}/adp
> > ns_param Map /*.adp
> >
> > ns_section ns/server/${serv_short_name}/module/nslog
> > ns_param EnableHostnameLookup Off
> > #ns_param File ${aol_home}/log/${serv_short_name}.log
> > ns_param File /www-var/aolserver/log/${serv_short_name}.log
> > ns_param LogCombined On
> > ns_param LogRefer Off
> > ns_param LogUserAgent Off
> > ns_param MaxBackup 31
> > 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/${serv_short_name}/module/nsperm
> > ns_param model Small
> > ns_param enablehostnamelookup Off
> >
> > ns_section ns/server/${serv_short_name}/module/nssock
> > ns_param timeout 120
> > ns_param Address ${address}
> > ns_param Hostname ${hostname}
> > ns_param Port ${httpport}
> > # [ns/server/${serv_short_name}/module/nsssl]
> > # Address=${address}_ssl
> > # Hostname=${hostname}_ssl
> > # CertFile=${aol_home}/servers/${serv_short_name}/cert.pem
> > # KeyFile=${aol_home}/servers/${serv_short_name}/key.pem
> > # Port=${httpport}_ssl
> >
> > ns_section ns/server/${serv_short_name}/modules
> > ns_param nsperm /usr/local/aolserver/bin/nsperm.so
> > ns_param nssock /usr/local/aolserver/bin/nssock.so
> > ns_param nslog /usr/local/aolserver/bin/nslog.so
> > ns_param nssha1 /usr/local/aolserver/bin/nssha1.so
> > ns_param nscache /usr/local/aolserver/bin/nscache.so
> > ns_param nsrewrite /usr/local/aolserver/bin/nsrewrite.so
> >
> > # nsssl=nsssle.so
> >
> > ns_section ns/server/${serv_short_name}/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/${serv_short_name}/tcl
> > ns_param Library ${acs_home}/tcl
> >
> > ns_section ns/server/${serv_short_name}/redirects
> > ns_param 404 "/static/404.adp"
> > ns_param 500 "/static/500.adp"
> >
> > #source /www/warren/parameters/warren.tcl
> >
> >
> > Thank you kindly,
> >
> > Gabriel
> >
> > >From: Dossy <[EMAIL PROTECTED]>
> > >Reply-To: AOLserver Discussion <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: [AOLSERVER] quick question, please help!
> > >Date: Wed, 28 Nov 2001 19:40:24 -0500
> > >
> > >Gabriel,
> > >
> > >Could you please send me a copy of your nsd.tcl file,
> > >and the output of this command:
> > >
> > >nm -A /usr/local/aolserver/bin/nsd8x | grep Ns_SetRequestAuthorizeProc
> > >
> > >-- Dossy
> > >
> > >--
> > >Dossy Shiobara                       mail: [EMAIL PROTECTED]
> > >Panoptic Computer Network             web: http://www.panoptic.com/
> > >  "He realized the fastest way to change is to laugh at your own
> > >    folly -- then you can let go and quickly move on." (p. 70)
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>
>--
>Dossy Shiobara                       mail: [EMAIL PROTECTED]
>Panoptic Computer Network             web: http://www.panoptic.com/
>   "He realized the fastest way to change is to laugh at your own
>     folly -- then you can let go and quickly move on." (p. 70)


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to