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

Neil Alexander neil.alexander at zoo.ox.ac.uk
Wed Nov 26 10:10:23 CET 2008


Hello Stephan,

I already had the following entry in my config file however it still 
passes a http prefix.  I have checked this is the file inteproxy is 
reading, because when I rename it the example WMS on your server doesn't 
work....

# SPIRE secured WMS-Services
[secure.wms.defra.gov.uk/SPIRE_WMS/WMS]
host=secure.wms.defra.gov.uk/SPIRE_WMS/WMS
path=/SPIRE_WMS/WMS
class=owsproxy

Stephan Holl wrote:
> 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
>>>   
>>>       
>>     
>
>
>   


-- 
Neil Alexander, GIS Database Manager
Environment Research Group Oxford
P.O. Box 346, Oxford, OX4 2FE, UK

Website: http://ergodd.zoo.ox.ac.uk/

Email: neil.alexander at zoo.ox.ac.uk
Skype: Neil_Alex

Office: (44) 01865 271257
Mobile: (44) 07867 626229
Home: (44) 01892 614099

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wald.intevation.org/pipermail/inteproxy-devel/attachments/20081126/5c9c60cf/attachment.html


More information about the Inteproxy-devel mailing list