× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

It could be a bug in the source for your getenv
subprocedure.  If you could post that, maybe that would
help.

Also, do you have the Apache instance set up for proper
ASCII to EBCDIC conversion?  

Brad
www.bvstools.com

On Wed, 8 Dec 2004 17:12:37 +1300
 edolon@xxxxxxxxxx wrote:
> We are currently using htpp server to service on our web
> application.  we 
> are in the process of moving this instance to apache
> 
> Currently the main cgi program is an RPG program, where
> one of there is a 
> line of code that returns the port number of the
> requesting job
> eg.   Eval      S_Port=getenv('SERVER_PORT':qusec) 
> 
> The above line returns the right port number "1025". 
> 
> However, when running the same cgi using the newly
> created apache server, 
> the said command returns only "10bb"  where bb are blank
> characters.  I am 
> buffled (probably because we are new to Apache). 
> 
> Does anyone now get the environment variable for port?
> 
> much appreciated.
> 
> 
> 
> Eliseo (Jun) Dolon 
> Support Analyst - VTech Production Support 
> Vero Insurance New Zealand Limited 
> Voted IBANZ Insurer of the Year 2002, 2003 & 2004
> Promina Group Best Performing Business 2003
> Telephone   +64 9 357-2367 
> Facsimile   +64 9 363 2326 
> Email   eliseo_dolon@xxxxxxxxxx 
> Website    http://www.vero.co.nz 
> 
> 
> 
>  
>
**********************************************************************
> CAUTION - This message is intended for the addressee
> named above. It
> may contain privileged or confidential information. If
> you are not the 
> intended recipient of this message you must not use,
> copy, distribute 
> or disclose it to anyone.
>
**********************************************************************
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.