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


  • Subject: RE: CGI Programming
  • From: "Rich Duzenbury" <rduz@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 16 Dec 1999 18:41:48 -0600
  • Importance: Normal

Not to get too far off the topic here, but...

I'd like to do some server side programming myself, but the final 
implementation would need to be secure.  Does the AS/400 web server support the 
secure socket layer (SSL)?

Thanks.

Regards,
Rich

-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of Jim Langston
Sent: Thursday, December 16, 1999 6:02 PM
To: RPG400-L@midrange.com
Subject: Re: CGI Programming


You need to remember, when you use Pass and Exec, it is
remapping the location of the files.  Say your site is www.somesite.com

The first line says, if someone points to http://www.somesite.com/democgi/(some 
prog)
then let it go through, but get the actual files from 
/QSYS.LIB/RPGISCOOL.LIB/CGISRC.FILE/CGIHTML.MBR, or in
Lib/file.mbr syntax, it is RPGISCOOL/CGISRC.CGIHTML

The next line is a bit the same, if someone points to 
http://www.somesite.com/cgibin/(somefile)
then actually send them to the library RPGISCOOL and run the program.
So, if they went to http://www.somesite.com/cgibin/myprog what would happen
is the exec line would convert the "/cgibin/myprog" to RPGISCOOL/MYPROG
and try to run the program MYPROG in the RPGISCOOL library.

Make more sense?

Regards,

Jim Langston

Gade_R_Reddy@consecofinance.com wrote:

> I am new to the CGI programming on As400. and trying the examples in the
> new Red Book on IBM web Site.( SG245402.PDF).
>
> I have a question about CGI Programing  code mentioned in the book.
>
> Pass /democgi /QSYS.LIB/RPGISCOOL.LIB/CGISRC.FILE/CGIHTML.MBR
> Exec /cgibin/* /QSYS.LIB/RPGISCOOL.LIB/*.PGM
>
> I can understand the PASS line but what exactly is CGIBIN in the Exec 
>command???.  Is it a library i need to create seperately???.
>
> Please help
> Gade.
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

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

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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.