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



Haven't had that problem before, though I don't believe I've really used
that environment variable either.

Here's a program I developed that I use to "debug" environment variables
and/or http headers.

http://mowyourlawn.com/files/CGIDSPENVV.txt

Aaron Bartell
www.MowYourLawn.com/blog
www.OpenRPGUI.com
www.SoftwareSavesLives.com



On Tue, May 22, 2012 at 11:16 AM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

I was putting together an application for a client and planned on
using the SERVER_PORT as part of the program to know if the requests
were internal or external (ie port 80 is external, outside the LAN
coming through the firewall) and something like port 81 is inside the
LAN.

So, created on instance that points to conf running port 80, and
another instance that points to conf running port 81.

Well, SERVER_PORT always returns port 80, no matter which server
instance I'm connecting to.

This is V5R4. I verified the same thing happens on my machine which
is also V5R4.

Any ideas? Thanks!

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

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.