× 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: HTTP Sign-On API
  • From: "Jay Peasley" <jpeasley@xxxxxxxxxx>
  • Date: Sat, 5 Aug 2000 08:31:05 -0400

What I think you are refering to is 'Protection' for HTTP which will force
someone to 'signon' before they can continue to other portions of a web
site.

Protection is defined in the instance definitions of your HTTP server
(CFGTCPHTTP option 2). It can be coded in manually, or through the *admin
portion of the HTTP server (xxx.xxx.xxx.xxx:2001) or with the new HTTP
wizard that IBM offers.

Basically you define a group of options for your 'protection' and then tell
the instance what you want to portect, ie directories (mapped or actual), or
programs.

The code in the instance looks something like this for using a validation
list

Protection MYPROTECT {
    AuthType BASIC
    ServerID MYAS400
    PasswdFile QGPL/MYPASSWD
    GetMask All
    PostMask All
}

Protect /cgi-bin/* MYPROTECT

or like this to use the as/400 userid and password
Protection MYPROTECT {
    AuthType BASIC
    ServerID MYAS400
    PasswdFile %%SYSTEM%%
    UserID     %%CLIENT%%
    GetMask All
    PostMask All
}

Protect /cgi-bin/* MYPROTECT

I hope this is what you are looking for. Bob Canicall's site is a good
resource for this stuff. ignite400.org Brad's site netshare400.com has a
good but underused forum as well.

Jay

----- Original Message -----
From: "Ted Barry" <TBARRY@smtpgate.centralsan.dst.ca.us>
To: <RPG400-L@midrange.com>
Sent: Friday, August 04, 2000 5:16 PM
Subject: HTTP Sign-On API


> Is there such an animal?  Does anyone want to share the code with the
> rest of us?
> +---
> | 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 ...

Follow-Ups:
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.