Re: Apache config

[email protected] Mon, 24 Oct 2022 11:25:43 -0400
Newsgroups gmane.comp.systems.as400.web
Message-ID <[email protected]>
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 <[email protected]> On Behalf Of Brad Stone
Sent: Monday, October 24, 2022 11:01 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <[email protected]>
Subject: Re: [WEB400] Apache config

On Mon, Oct 24, 2022 at 9:44 AM <[email protected]> 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: [email protected] To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected] Before posting, please take a
moment to review the archives at https://archive.midrange.com/web400.


-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.