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



Dave

You need some kind of HTTP server - that is provided with licensed product 5722-DG1 - in releases somewhere before v5r4 this gave you 2 servers - the so-called original, based on CERN, I believe, and Apache. Now there is only Apache. It's not like it's extra - it's what the HTTP environment is.

There is a browser tool for setting these up - it was also used for the older server setup. You simply start the *ADMIN HTTP server instance, then in your browser go to http://your-iseries-ip:2001 and log in and go from there.

There was and is always setup needed for the HTTP server instances. The chapter in the Apache Redbook is quite clear and simple, although it assumes you already have an Apache HTTP server instance defined. But you can get a default version of that - in fact, there probably is one - to which you add the Net.Data stuff. There is usually an instance called APACHEDFT that exists when you install the licensed product - I think - heh - it's early and I'm just back from fantastic days in Texas - oh - the Nimitz museum is not to be missed!!

I suggest taking the example(s) in that Redbook and follow the bouncing ball - there are also additional materials - at least a SAVF of stuff to put on the iSeries - that contain a lot of good stuff. Appendix in the manual has info and instructions.

Now I've never read the Redbook - just gone to that admin page - the one with port 2001. That's usually been enough. The config files reside in the IFS - /www/instance-name as in /www/apachedft

HTH
Vern
-------------- Original message --------------
From: "Dave Odom" <Dave.Odom@xxxxxxxxxxxx>

Vern, and other Net.Data and PHP folks,

I thought you could run whatever Net.Data needed from the HTTP environment on
the i and thus there was no need for Apache? What am I missing about how this
is set up. I'll have to look at the Net.Data books you suggested again unless
there are newer/better. Then, if Apache is necessary I'll have to find that
set of manuals.

I'd also like to compare some Net.Data and PHP code to see how they do the same
thing. Know of any examples?

Boy did I start a discussion here. Didn't think it would get this far but the
discussion has been a good learning experience for me but I think I've just hit
the tip of the ice burg.

But, it now appears like the choices, for me, for now, are Net.Data and PHP.
Again, for now, my needs are fairly simple... picture the old Green Screen menus
that allow you to move from main menu to subordinate with selections per topic
area on each. That's what I need for now as a Web app with those selections
calling REXX, perhaps some CL/RPG and DB2 Query Manager queries, Commands like
WRKSPLF where the spool files don't belong to the user logged on but are
accesses, under the covers, by generic userid with the privlidges with the
spoolfile displayed on the Web (perhaps the hardest to do).... this sort of
thing. No fancy stuff... yes using CSS would be nice but not necessary.
Thoughts on how to knock this out fairly quickly from
nothing-set-up-on-the-system to production web app(s)?

Thanks,

Dave

8/9/2008 10:58 >>>
Nathan

Very cool!

I see, for Dave's benefit, that the Apache HTTP Server Redbook has a very simple
example, as well as additional materials that can set up things pretty quickly.
Some of the stuff returns a table all filled out - and a CSS import could take
care of any style concerns very nicely.

Vern

-------------- Original message --------------
From: Nathan Andelin

From: vhamberg@...
it is good to hear this from one who is actually using it, if I read
you correctly.

I'm currently using a Net.Data file upload utility, which is based on a macro
supplied by Peter Connell. The following thread is part of somewhat lengthy
discussion on that topic:

http://archive.midrange.com/web400/200804/msg00013.html

I used Net.Data for a small contract job I did for Pearson Publishing (in the
UK) a number of years ago. I'm also aware of a couple ISVs using Net.Data for
applications for K-12 school districts in the US.

I actually did a bit of comparative analysis by prototyping an application
using
three different tools, one of which was my own ILE framework, while the other
two were Net.Data & CGIDEV2. As I began working with Net.Data, it struck me
how
seductive it is to just save a macro on the IFS and run it. There's no compile
step. And any errors are reported automatically in the output.

Nathan.



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

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

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

Follow-Ups:

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.