Re: Apache config

Brad Stone <[email protected]> Mon, 24 Oct 2022 10:00:52 -0500
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAAGV8OcHNxKvXR7U8uCB1ZBkfnJpykf7szNWGF2DuZzJHrXO1Q@mail.gmail.com>
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.