[Inteproxy-devel] Inteproxy query... (fwd)

Stephan Holl stephan.holl at intevation.de
Wed Nov 26 09:42:58 CET 2008


Hello Neil,

Neil Alexander <neil.alexander at zoo.ox.ac.uk>, [20081126 - 08:28:56]

> Thankyou Hans,
> 
> The example on your server does now work for me.
> 
> I also think I see the reason why my alternative WMS doesn't work.  
> Looking at the log below, you will see that inteproxy is parsing my 
> secure WMS only with a http prefix not a https.
> 
> I have markedwhat I think the relevant line is in the log below
> (***). Why is Inteproxy not parsing my wms with https like it does
> with your example?

Did you enter an entry in the inteproxy-configuration-file? InteProxy
can only translate to https what is known to him.
You need to add something like the following into your configuration
file:
[your.server.com]

# The hostname used in the URLs accessing this server
host=your.server.com

# The path on the server
path=/cgi-bin/frida-wms

# the class defines how InteProxy handles the connection to the server.
# Supported classes are:
#
#   identity   simply passes the request through.
#
#   owsproxy   The remote host is an OWSProxy requiring authentication
#              and https
#
#   basicauth  HTTP Basic Authorization over https
#
class=owsproxy

Then restart InteProxy and InteProxy will also translate your server to
https when you do a request to this server.

Best regards

	Stephan

> 
> Logfile:
> 
> InteProxy Version 0.4.1
> [26/Nov/2008 08:24:16] server starting up
> [26/Nov/2008 08:24:16] starting 5 worker threads
> [26/Nov/2008 08:24:16] serving HTTP on port 64609
> [26/Nov/2008 08:24:39] queue contains 0 items
> localhost - - [26/Nov/2008 08:24:39] DEBUG: Got GET request for 
> /secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities, 
> version 'HTTP/1.1'
> localhost - - [26/Nov/2008 08:24:39] DEBUG: header from client: 
> connection:'Keep-Alive'
> localhost - - [26/Nov/2008 08:24:39] DEBUG: header from client: 
> host:'localhost:64609'
> localhost - - [26/Nov/2008 08:24:39] DEBUG: modified client_request:
> localhost - - [26/Nov/2008 08:24:39] DEBUG: HTTPRequestMessage: GET 
> /secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
> HTTP/1.1
> localhost - - [26/Nov/2008 08:24:39] DEBUG: header:
> connection:'Keep-Alive' localhost - - [26/Nov/2008 08:24:39] DEBUG:
> header: host:'localhost:64609' localhost - - [26/Nov/2008 08:24:39]
> DEBUG: body may be present but has not been read yet
> ***localhost - - [26/Nov/2008 08:24:39] DEBUG: Converted url: 
> 'http://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities'***
> localhost - - [26/Nov/2008 08:25:24] code 502, message Bad Gateway
> localhost - - [26/Nov/2008 08:25:24] "GET 
> /secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
> HTTP/1.1" 502 -
> localhost - - [26/Nov/2008 08:25:24] DEBUG: request finished
> 
> 
> 
> Hans Plum wrote:
> > Hi Bernhard, hi Neil,
> >
> > Am Dienstag, 25. November 2008 15:01:51 schrieb Bernhard Herzog:
> >   
> >> This looks good to me.  I've tried to access
> >> inteproxy-demo.intevation.org myself now and I think your
> >> configuration is OK.  It seems to me that the real problem is that
> >> our server is down or doesn't respond for some other reason.
> >>     
> >
> > The services are available again now. Please give it one more try.
> > Let me know if you still encounter these problems.
> >
> > Hans
> > _______________________________________________
> > Inteproxy-devel mailing list
> > Inteproxy-devel at wald.intevation.org
> > http://lists.wald.intevation.org/mailman/listinfo/inteproxy-devel
> >   
> 
> 


-- 
Stephan Holl <stephan.holl at intevation.de>, http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/inteproxy-devel/attachments/20081126/7103a16a/signature.pgp


More information about the Inteproxy-devel mailing list