[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Example 1 With Proxy Server



Hello Eftimios.

I thnk you are missing the point that you are acting as a client 
application. This means you are acting like a web browser. Therefore you do 
not have anything to do with a HTTP server on your own system.

Wat you do need is to inform HTTPAPI with the fact that your network access 
to the outside world is protected by a proxy server. Therefore you need the 
calls to the HTTPAPI proxy procedures, so the API knows how it can pass the 
URL of the site you want to visit to that proxy server.

Kind regards,

Loek Maartens


----- Original Message ----- 
From: "Eftimios Pantzopoulos" <Mike.Pantzopoulos@xxxxxxxxxx>
To: <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 04, 2010 8:52 AM
Subject: Example 1 With Proxy Server



_______________________________________________________________________________________

Note: This e-mail is subject to the disclaimer contained at the bottom of 
this message.
_______________________________________________________________________________________


I'm stuck with example1 which retrieves a pdf document from Scott's site.

I'm also a complete newbie to the HTTP server so am taking baby steps at the 
moment. Please be kind.
The only resources I have are Google, the HTTP manual and this forum.

I only got access to the HTTP administration functions through a browser 
about an hour ago and am finding it hard to find my way 'into it'.

When I first ran example1 it timed out.

I thought it might be firewall issue so talked to a network guy after 
discovering the proxy server concept.

I was given the url of the proxy server and the port number, and he told me 
he configured his proxy server to allow our iSeries to request the external 
URL from our ip address (I hope I have the terminology correct).

Because I only had the iseries to work with I used the CFGHTTPSCH command to 
set the proxy details.
I only stumbled across the command and it's the first time I used it. I 
presume the Option Object concept is just a 'container' for the remaining 
configuration settings.

CFGHTTPSCH OPTION(*CRTOPTOBJ) OPTOBJ(MXPOBJ) PRXSVR(autoproxy.xxxxx.corp)
 PRXPORT(8081)

I didn't receive an error so I presume it ran correctly.

How can I tell if the settings have been established correctly?

Regardless, example1 still times out and the network guy says he can't see 
any request coming through.

I have just received access to the administration function through the 
browser and wanted to find/set the proxy settings through this, but I'm 
confused as to what 'server' I'm using. I found the Global Server Settings 
in the advanced tab but when I click on Global Server Settings on the LHS 
the main pane says Loading and nothing happens.

Other questions....................

What 'server' did the CFGHTTPSCH apply the proxy values to?

Do I have to create an instance of any of the servers available from the 
setup tab?

If the iSeries is the client in a web service request, then the HTTP server 
on the iSeries is just a conduit to the real server by way of the proxy? In 
other words, the iSeries HTTP server is not really serving up anything 
immediately, but simply acting as an intermediary to the real server at 
Scott's server?

Thanks.







_______________________________________________________________________________________

The information transmitted in this message and its attachments (if any) is 
intended
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in 
reliance
upon this information, by persons or entities other than the intended 
recipient is
prohibited.

If you have received this in error, please contact the sender and delete 
this e-mail
and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files, with the 
permission
of the sender.

This message has been scanned for viruses.
_______________________________________________________________________________________



--------------------------------------------------------------------------------


> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------