Thanks Anton! That did it exactly, and yes,  CGI DOES work like this.  CGI
Programs running on the HTTP Server on the local network and served up to
the remote HTTP Server, and then to the user's browser.

This is WAY! Cool!

Thanks a million!

Shannon O'Donnell


----- Original Message ----- 
From: "Anton Gombkötö" <gombkoetoe@xxxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Sent: Wednesday, August 20, 2003 10:50 AM
Subject: Re: [WEB400] RPGIV - CGI and Multiple Partitions


Hi Shannon,

> So.....I have a question then about configuring Reverse Proxy....

> #1 -  In the "Proxy Requests to Remote Servers" area of the
> configuration page in HTTP *ADMIN.....there are three fields:
> Request Type;  Local Virtual Path; Remote Server URL;

>  I can figure out Request Type;  and Remote Server URL;    However, I am
not
> sure what to put in the "Local Virtual Path" field.  If my IP address to
> this server was http://192.168.254.106......   and I wanted to point to
> http://192.168.254.101    what would I put into these fields?

The "virtual path" is the part of the URL between the server name and
the "file name". It's called virtual, because it has normally not very
much to do with your physical paths.

So you could decide to reverse proxy all requests for /myspecial/ to
another server called http://theotherserver/anotherspecialthing .

But in your case, it should be / to http://192.168.254.101/.

So you have a line

ProxyPass / http://192.168.254.101/

in your Apache config, likely in the global container.

> #2 - Because I have Reverse Proxy running on one HTTP Server, do I ALSO
need
> Forward Proxy enabled on the remote HTTP Server?  I'm thinking NOT...but
> thought I'd ask.

No, not necessary. You use a forward proxy when you want your local
people surf the web via your proxy. Your production web server has not
to know whether it is directly "hit" or via your proxy. No
configuration change necessary.

Hope this helps!

-- 
Mit freundlichen Grüssen / best regards

Anton Gombkötö
Organisation und Projektleitung

Avenum Technologie GmbH
Wien - Salzburg - Stuttgart
http://www.avenum.com



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

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.