Hi Eds what you are seeing is HTML encoding of the characters that it cant
direct pass such as space. I am suprised you dont see it in IE as well I
just looked at the following generated in the Net.Data forum on IGNITE/400
and seen through IE.

http://www.ignite400.org/member/cgi-dta/dtwforum.d2w/POSTVIEW?SUBJECT=HTTP%2
0Cookies&SUBJECTID=1999-07-29-21%2E01%2E43%2E511312&REPLY=2&PRODUCT=INET%20S
ervers%20%2B%20Netscape&CATEGORY=how%20can%20i%20do&MESSAGECRITERIA=&PRODUCT
ID=1&CATEGORYID=8

What you may want to look at is front end your RPG program through Net.Data
it will make life much easier. It will handle the encoding for you then use
the Direct_Execution function to call your RPG. Once done you wont spend
time writting CGI RPG interfaces use Net.Data it will cut your time
developing in at least half.

The second point the easiet way to do your binding is to have two IP
interfaces each with its own HTTP config. Set them to bind specific and put
the host names into the host table and start them up, now each one will
serve from port 80 on a different IP address. It is possible to serve
multiple sites from a single IP address have a search on Virtual Hosting on
the IGNITe/400 site. This would allow you to access both www.abc.com and
www.bca.com on the same address both on port 80. You will need to go to V430
to get those sort of benifits.

Thanks
Bleddyn

***********************************************************
http://www.ignite400.org Your AS/400 Internet User Group
***********************************************************




-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of Ed Davidson
Sent: Friday, July 30, 1999 05:41
To: MIDRANGE-L@midrange.com
Subject: CGI, NETSCAPE, and Multiple Domains.


I have designed this app to run RPGILE CGI on the as/400. All along I was
developing using Internet Explorer. When I did some final testing to the
differences
between IE and netscape I found out that netscape doesn't pass the variables
like IE does. When it comes across an @ sign it converts it to %40, which is
a space
on the AS/400. It converts a comma into a %39 which looks like a box.
Obviously I have something setup wrong. Anyone know what I need to do for
netscape to
pass paramaters correctly? Thanks.


ALSO;


I have a site, www.primeinc.com, currently running on IBM's HTTP server,
v4r2m0.

I need to add another site to this AS/400. The documentation I am finding is
vague as to what needs done.

Currently I have one site which is instance PRIME  (strtcpsvr *http *none
prime).  It binds to two IP addresses which are defined to the host table.
One IP address is the NIC that serves our LAN, the other is a NIC that
serves the internet.

I want to add an instance of LEASE which would be on a difference IP address
on the same NIC.  It would run on port 80.  It also needs two IP Addresses,
for the same reasons as above.

My problem is that when I tell instance PRIME to BINDSPECIFIC ON  it only
binds to one of the IP addresses in the host table.  The host table entries
are identical for both IP addresses.

Do I need to have an instance for each of my IP addresses, or can a
specifically bound instance serve two IP addresses, while another serves a
different two?


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

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


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].