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



As I understand it, "Map" commands aren't actually necessary (although
everyone seems to use them, and they're a good idea from a security
standpoint). All they do is translate one string into another --
basically, the statement:
Map  /AAA/BBB/*    /CCC/DDD/EEE/*
means "If the browser sends a URL beginning with /AAA/BBB/<followed by
something else>,  convert the URL to /CCC/DDD/EEE/<followed by whatever".
In other words, what it actually accomplishes is to allow the browser to
send a "dummy" address that the server then translates into the real thing.

The main trick to using Net.Data is to remember that it is a special case
of running a CGI program -- namely, the program DB2WWW. All you really
need is the "Exec" command, which tells the server to run programs in the
specified location.

BTW, if you're at all familiar with HTML, I'd recommend skipping Net.Data
and just using CGI programs -- you get more flexiblity, both on the
back-end data side and on the front-end presentation to the browser side,
and in my experience they also run a lot faster. The only advantage of
Net.Data is it's pretty fast to set up. . .

HTH

Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA  01376
413-863-4357 x444

MIDRANGE-L@midrange.com writes:
>With those 2 lines, you can use net data
>
>Map /cgi-bin/db2www/* /QSYS.LIB/QHTTPSVR.LIB/DB2WWW.PGM/*
>Exec  /QSYS.LIB/QHTTPSVR.LIB/*
>
>
>The exec line identify the location of CGI programs
>
>Denis Robitaille
>Directeur services techniques
>Cascades Inc
>819 363 5187
>fax 819 363 5177


mnaughton@juddwire.com


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.