So then why the push and pop? It sounds like a one-time push and leaving it
that way would be sufficient. Just trying to understand.


-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brad Stone
Sent: Monday, October 24, 2022 11:01 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Apache config

On Mon, Oct 24, 2022 at 9:44 AM <smith5646midrange@xxxxxxxxx> wrote:


One last question (for a while anyhow). Why do you do the push and pop?
If
I have one PC running using the HTTPPROD version and another PC
running using the HTTPTEST version, are there two (or more) separate
jobs on the IBM i to process the HTTP call that is executing my
HTTPDATA program? If there is more than one job, can they cross into
each other and end up using the wrong libl?


I am not concerned about your PCs... the same PC could make requests to your
prod or dev system. I said that for prod and dev/test, I run separate apache
instances on the IBM i. dev/test simply being on a different port.

So for prod your request would be:
http://yoursite.com/path

and for dev/test it would be:
http://yoursite.com:8080/path

They aren't separate jobs, they are separate Apache instances (which have
their own jobs).

You can't make a request to port 8080 and have it go to 80 and get "the
wrong job/instance".

Because they are separate instances, I can set up different libraries on the
IBM i for each environment. They are totally separate. I think you're
missing this point, or how apache instances work.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.