<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Stephan,<br>
<br>
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....<br>
<br>
# SPIRE secured WMS-Services<br>
[secure.wms.defra.gov.uk/SPIRE_WMS/WMS]<br>
host=secure.wms.defra.gov.uk/SPIRE_WMS/WMS<br>
path=/SPIRE_WMS/WMS<br>
class=owsproxy<br>
<br>
Stephan Holl wrote:
<blockquote cite="mid:20081126094258.7e478bd9@keto" type="cite">
<pre wrap="">Hello Neil,
Neil Alexander <a class="moz-txt-link-rfc2396E" href="mailto:neil.alexander@zoo.ox.ac.uk"><neil.alexander@zoo.ox.ac.uk></a>, [20081126 - 08:28:56]
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
<blockquote type="cite">
<pre wrap="">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:
'<a class="moz-txt-link-freetext" href="http://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities'***">http://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities'***</a>
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:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Bernhard, hi Neil,
Am Dienstag, 25. November 2008 15:01:51 schrieb Bernhard Herzog:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Inteproxy-devel@wald.intevation.org">Inteproxy-devel@wald.intevation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wald.intevation.org/mailman/listinfo/inteproxy-devel">http://lists.wald.intevation.org/mailman/listinfo/inteproxy-devel</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Neil Alexander, GIS Database Manager
Environment Research Group Oxford
P.O. Box 346, Oxford, OX4 2FE, UK
Website: <a class="moz-txt-link-freetext" href="http://ergodd.zoo.ox.ac.uk/">http://ergodd.zoo.ox.ac.uk/</a>
Email: <a class="moz-txt-link-abbreviated" href="mailto:neil.alexander@zoo.ox.ac.uk">neil.alexander@zoo.ox.ac.uk</a>
Skype: Neil_Alex
Office: (44) 01865 271257
Mobile: (44) 07867 626229
Home: (44) 01892 614099
</pre>
</body>
</html>