× 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.



You shouldn't need anything for converting from ASCII to EBCDIC (you do with 
the Original HTTP server). I don't and I don't have any problems getting 
environment variables.

Matt

-----Original Message-----
From: Brad Stone [mailto:brad@xxxxxxxxxxxx]
Sent: Wednesday, December 08, 2004 9:20 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] HTTP vs Apache


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
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.