Understand on the two-server if using Java or .NET; probably how I'd set it up if I were to use those.

Your last paragraph is one of the reason why I don't want to get involved with RPG anymore unless absolutely necessary.



"Richard Schoen" <richard@xxxxxxxxxxx> 8/7/2008 21:21 >>>
As an addition to the Apache discussion, .Net applications will run
under Apache on Windows, so you can avoid setting up IIS. This is cool !

This is still probably a two-server scenario of Windows + i, however we
do the same a lot of the time with JSP's as well because performance of
JSP's on iSeries have not always been up to par. Running Tomcat on a
Windows box far outweighs the native iSeries performance.

The point of this whole comment. Don't shy away from .Net or Java
technologies because you may have a two server environment. Most of the
time the web server simply runs the web code, but the database still
stays on the "i". Not a bad tradeoff since a web apps code is usually a
few megs. It's all about the database !!

On the CGI topic, RPG-CGI smokes, but it's harder to find developers
that know RPG+Web than it is to find .Net or JSP coders.

Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Email: richard@xxxxxxxxxxxxxxx
Web Site: ( )
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

-----Original Message-----

message: 1
date: Thu, 7 Aug 2008 15:07:56 -0500
from: "Aaron Bartell" <aaronbartell@xxxxxxxxx>
subject: Re: [WEB400] What's the latest thinking of the best two or
threewebdevelopment 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 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

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' ?

Aaron Bartell

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


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



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].