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



Im listening. I thought the OP already said no RPG. Which is too bad. I'm
not going to try and fight. This thread will go on long enough by itself...
haha!

Happy to answer any questions here or privately.

As far as libraries outside of your CGI library, I recommend that. And
setting up a dynamic library list library is simple (and I have one I use
with all my customers). It makes it easy to set up prod/devo/test
environments too.

Best Practices.. yes, there are a few but not everyone will always agree.
And, CGI RPG best practices normally are 90% RPG best practices. :) It's
just RPG! And again, differ from programmer to programmer.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Aaron Bartell
Sent: Thursday, August 07, 2008 3:08 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] What's the latest thinking of the best two
orthreewebdevelopment languages/environ...


Apache comes pre-installed on 99% of all AS400 servers in my
experience. It
runs "natively" as far as I am concerned as IBM has added their own hooks
outside of the base Apache HTTP server available from
www.apache.org. Note
that it simply runs under subsystem QHTTPSVR on the same hardware
that your
green screen users are on (i.e. QINTER).

And the Apache server is pretty each to configure for RPG+CGI.
Here is the
config I use:

Listen *:8181

DocumentRoot /www/myrxs/htdocs

ScriptAliasMatch ^/MYRXS/(.*) /qsys.lib/MYRXS.lib/$1.pgm

<Directory /qsys.lib/MYRXS.lib>
allow from all
order allow,deny
options +ExecCGI
</Directory>

The one thing I believe to be lacking is a "RPG CGI best practices"
book/course that helps you skip past all the yuck stuff that many have to
figure out for themselves (i.e. how do you access tables outside of the
library your RPG CGI is running in?). Brad Stone you listenin' ? ;-)

HTH,
Aaron Bartell


On Thu, Aug 7, 2008 at 2:55 PM, Dave Odom <Dave.Odom@xxxxxxxxxxxx> wrote:

Raul,

What if RPG is out of consideration?

Your point about .Net requiring two or more servers caught my
eye and made
me wince. But.. if one must use something like Apache for their
environment/language to work, isn't that using two or more
servers as well?

Thanks,

Dave

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