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

Neil Alexander neil.alexander at zoo.ox.ac.uk
Thu Nov 27 10:25:47 CET 2008


Good morning all,

Thankyou Stephan we have made a little progress!  I have corrected my 
config file and I no longer receive the 502 Bad getway error when 
accessing the DEFRA secure WMS...

However the bad news is now even though inteproxy now prompts me for a 
username and password when I add the WMS to QGIS I still get an error.

In my own investigations I notice that when I enter the WMS into my 
browser I am prompted for a username and password first by a inteproxy 
popup window... Then again by a regular browser popup as if I had 
directly typed the full https 
(https://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities) 
without using inteproxy.  So it appears inteproxy is requesting a 
username password but not passing it on to the remote wms server perhaps?

  I have copied the logfile below.  The first start of Inteproxy shows 
the log from when I use QGIS to access the WMS where I am prompted once 
for the username and password by inteproxy then get an error.  The log 
after the restart shows what happens when I enter the same address 
(http://localhost:64609/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities) 
into my browser and I am prompted twice for a username and password 
first by Inteproxy and then by my browser.

Progress is slow but I appreciate your help thankyou!

InteProxy Version 0.4.1
[27/Nov/2008 09:10:18] server starting up
[27/Nov/2008 09:10:18] starting 5 worker threads
[27/Nov/2008 09:10:18] serving HTTP on port 64609
[27/Nov/2008 09:10:29] queue contains 0 items
localhost - - [27/Nov/2008 09:10:29] DEBUG: Got GET request for 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities, 
version 'HTTP/1.1'
localhost - - [27/Nov/2008 09:10:29] DEBUG: header from client: 
connection:'Keep-Alive'
localhost - - [27/Nov/2008 09:10:29] DEBUG: header from client: 
host:'localhost:64609'
localhost - - [27/Nov/2008 09:11:00] DEBUG: modified client_request:
localhost - - [27/Nov/2008 09:11:00] DEBUG: HTTPRequestMessage: GET 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
HTTP/1.1
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: connection:'Keep-Alive'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: host:'localhost:64609'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: authorization:'Basic 
ZjRqYWFyY3BkdWZiOkVSRzBVU0VS'
localhost - - [27/Nov/2008 09:11:00] DEBUG: body may be present but has 
not been read yet
localhost - - [27/Nov/2008 09:11:00] DEBUG: Converted url: 
'https://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities'
localhost - - [27/Nov/2008 09:11:00] DEBUG: request sent
localhost - - [27/Nov/2008 09:11:00] DEBUG: HTTPResponseMessage: 
HTTP/1.1 302 Moved Temporarily
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: content-length:'5240'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: via:'1.1 
secure.wms.defra.gov.uk (Alteon iSD-SSL/4.2.1.11)'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: 
set-cookie:'AlteonP=f4e8b939f4e8b937baefbbd3; path=/, 
PD-H-SESSION-ID=4_z+hWx2lO1HA5RVGwmbmddEHXhA9uzb8U3HF3FS3ZJJMl9WFI; Path=/'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: 
location:'https://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: pragma:'no-cache'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: cache-control:'no-cache'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: date:'Thu, 27 Nov 
2008 09:10:59 GMT'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: p3p:'CP="NON CUR 
OTPi OUR NOR UNI"'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: content-type:'text/html'
localhost - - [27/Nov/2008 09:11:00] DEBUG: body may be present but has 
not been read yet
localhost - - [27/Nov/2008 09:11:00] "GET 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
HTTP/1.1" 302 -
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
content-length:'5240'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: via:'1.1 
secure.wms.defra.gov.uk (Alteon iSD-SSL/4.2.1.11)'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
set-cookie:'AlteonP=f4e8b939f4e8b937baefbbd3; path=/, 
PD-H-SESSION-ID=4_z+hWx2lO1HA5RVGwmbmddEHXhA9uzb8U3HF3FS3ZJJMl9WFI; Path=/'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
location:'https://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
pragma:'no-cache'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
cache-control:'no-cache'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: date:'Thu, 
27 Nov 2008 09:10:59 GMT'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
p3p:'CP="NON CUR OTPi OUR NOR UNI"'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header to client: 
content-type:'text/html'
localhost - - [27/Nov/2008 09:11:00] DEBUG: from server: '<!DOCTYPE HTML 
PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN">\r\n<html>\r\n<head>\r\n<link 
href="/style/defra-main.css" rel="styleSheet" 
type="text/css">\r\n</head>\r\n<body>\r\n<script language="javascript" 
type="text/javascript">\r\n\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t//Internet Explorer\r\n\t\tdocument.write(\'<div 
id="wrapperz" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t} else 
{\r\n\t\t//Netscape etc\r\n\t\tdocument.write(\'<div 
id=\\"wrapperz\\">\');\r\n\t}\r\n</script>\r\n<div 
id="wrapperz">\r\n\t<div id="header">\r\n\t\t<ul 
class="access">\r\n\t\t\t   <li><a class="skiplink" href="#content" 
accesskey="S">Skip navigation to 
content</a></li>\r\n\t\t</ul>\r\n\t\t<div 
class="screenlogo"></div>\r\n\t\t<a href="http://www.defra.gov.uk/" 
title="Link to home page" class="printlogo"><img 
src="/graphics/logos/defra-printlogo.gif" width="117" height="72" 
alt="defra: Department for Environment, Food and Rural Affairs" 
height="72" width="117"></a>\r\n\t\t<h1 
class="access">Defra</h1>\r\n\t\t<h2 class="access">Department for 
Environment, Food and Rural Affairs</h2>\r\n\t\t<div 
id="topmenu">\r\n\t\t\t   <h3 class="access">Main menu</h3>\r\n\t\t\t   
<ul>\r\n\t\t\t\t      <li class="bordernone"><a 
href="http://www.defra.gov.uk/">Defra Home</a></li>\r\n\t\t\t\t      
<li><a 
href="http://www.defra.gov.uk/corporate/contacts/index.htm">Contact 
Defra</a></li>\r\n\t\t\t   </ul>\r\n\t\t</div>\r\n\t\t<div 
class="clearboth"></div>\r\n\t</div>\r\n\t\t<div 
id="stitle">\r\n\t\t<h2><!--Defra Security--></h2>\r\n\t</div>\r\n\t<div 
id="mainmenu">\r\n\t\t<h3 id="global_links" class="access">Global 
links</h3>\r\n\t\t<ul><li>&nbsp;<br/></li></ul>\r\n\t</div>\r\n\t<script 
language="javascript" 
type="text/javascript">\r\n\t\tdocument.write(\'<\\div>\');\r\n\t</script>\r\n\r\n\r\n\r\n\t<div>\r\n\r\n\t\t<div 
id="top">\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t</div>\r\n\t\t<script 
language="javascript" 
type="text/javascript">\r\n\t\t\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t\t\t//Internet Explorer\r\n\t\t\t\tdocument.write(\'<div 
id="container" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t\t\t} else 
{\r\n\t\t\t\t//Netscape etc\r\n\t\t\t\tdocument.write(\'<div 
id=\\"container\\">\');\r\n\t\t\t}\r\n\t\t</script>\r\n\t\t<div 
id="container">\r\n\t\t\t<div id="marg">\r\n\t\t\t  \t<table 
align="center" border="0" cellpadding="0" cellspacing="0" 
width="100%">\r\n\t\t\t\t\t<tbody>\r\n\t\t\t\t\t\t<tr 
height="100%">\r\n\t\t\t\t\t\t\t<td 
valign="top">\r\n\t\t\t\t\t\t\t\t<div id="leftnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="rightnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="content">\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- HEADER ABOVE HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- WS -->\r\n<title>Moved Temporarily</title>\r\n\r\n<!-- Enter 
Message Header -->\r\n<h1><font color="#FF0000">Moved 
Temporarily</font></h1>\r\n\r\n<p><!-- Enter Error Message -->\r\nThe 
Web resource you have requested has been temporarily 
moved.\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Error Explanation 
-->\r\n<H4>Explanation</H4>\r\n<P>The requested resource has been 
temporarily moved. This usually occurs if there has been a mishandled 
redirect.\r\n</P>\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Possible 
Solution -->\r\n<H4>Solutions</H4>\r\n<P><A 
HREF="http://secure.wms.defra.gov.uk:443/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000">Click 
here</A> to fetch the 
resource.\r\n</P>\r\n\r\n<br>\r\n<br>\r\n<br>\r\n<!-- Enter Link 
-->\r\n\r\n<p><font size="1" 
 >[ws.e.20080118]</font><p>\r\n<title>Defra</title>\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER 
BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW 
FOOTER  -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n\r\n\t\t\t\t\t\t\t\t</div>'
localhost - - [27/Nov/2008 09:11:00] DEBUG: to client: '<!DOCTYPE HTML 
PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN">\r\n<html>\r\n<head>\r\n<link 
href="/style/defra-main.css" rel="styleSheet" 
type="text/css">\r\n</head>\r\n<body>\r\n<script language="javascript" 
type="text/javascript">\r\n\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t//Internet Explorer\r\n\t\tdocument.write(\'<div 
id="wrapperz" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t} else 
{\r\n\t\t//Netscape etc\r\n\t\tdocument.write(\'<div 
id=\\"wrapperz\\">\');\r\n\t}\r\n</script>\r\n<div 
id="wrapperz">\r\n\t<div id="header">\r\n\t\t<ul 
class="access">\r\n\t\t\t   <li><a class="skiplink" href="#content" 
accesskey="S">Skip navigation to 
content</a></li>\r\n\t\t</ul>\r\n\t\t<div 
class="screenlogo"></div>\r\n\t\t<a href="http://www.defra.gov.uk/" 
title="Link to home page" class="printlogo"><img 
src="/graphics/logos/defra-printlogo.gif" width="117" height="72" 
alt="defra: Department for Environment, Food and Rural Affairs" 
height="72" width="117"></a>\r\n\t\t<h1 
class="access">Defra</h1>\r\n\t\t<h2 class="access">Department for 
Environment, Food and Rural Affairs</h2>\r\n\t\t<div 
id="topmenu">\r\n\t\t\t   <h3 class="access">Main menu</h3>\r\n\t\t\t   
<ul>\r\n\t\t\t\t      <li class="bordernone"><a 
href="http://www.defra.gov.uk/">Defra Home</a></li>\r\n\t\t\t\t      
<li><a 
href="http://www.defra.gov.uk/corporate/contacts/index.htm">Contact 
Defra</a></li>\r\n\t\t\t   </ul>\r\n\t\t</div>\r\n\t\t<div 
class="clearboth"></div>\r\n\t</div>\r\n\t\t<div 
id="stitle">\r\n\t\t<h2><!--Defra Security--></h2>\r\n\t</div>\r\n\t<div 
id="mainmenu">\r\n\t\t<h3 id="global_links" class="access">Global 
links</h3>\r\n\t\t<ul><li>&nbsp;<br/></li></ul>\r\n\t</div>\r\n\t<script 
language="javascript" 
type="text/javascript">\r\n\t\tdocument.write(\'<\\div>\');\r\n\t</script>\r\n\r\n\r\n\r\n\t<div>\r\n\r\n\t\t<div 
id="top">\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t</div>\r\n\t\t<script 
language="javascript" 
type="text/javascript">\r\n\t\t\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t\t\t//Internet Explorer\r\n\t\t\t\tdocument.write(\'<div 
id="container" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t\t\t} else 
{\r\n\t\t\t\t//Netscape etc\r\n\t\t\t\tdocument.write(\'<div 
id=\\"container\\">\');\r\n\t\t\t}\r\n\t\t</script>\r\n\t\t<div 
id="container">\r\n\t\t\t<div id="marg">\r\n\t\t\t  \t<table 
align="center" border="0" cellpadding="0" cellspacing="0" 
width="100%">\r\n\t\t\t\t\t<tbody>\r\n\t\t\t\t\t\t<tr 
height="100%">\r\n\t\t\t\t\t\t\t<td 
valign="top">\r\n\t\t\t\t\t\t\t\t<div id="leftnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="rightnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="content">\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- HEADER ABOVE HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- WS -->\r\n<title>Moved Temporarily</title>\r\n\r\n<!-- Enter 
Message Header -->\r\n<h1><font color="#FF0000">Moved 
Temporarily</font></h1>\r\n\r\n<p><!-- Enter Error Message -->\r\nThe 
Web resource you have requested has been temporarily 
moved.\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Error Explanation 
-->\r\n<H4>Explanation</H4>\r\n<P>The requested resource has been 
temporarily moved. This usually occurs if there has been a mishandled 
redirect.\r\n</P>\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Possible 
Solution -->\r\n<H4>Solutions</H4>\r\n<P><A 
HREF="http://secure.wms.defra.gov.uk:443/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000">Click 
here</A> to fetch the 
resource.\r\n</P>\r\n\r\n<br>\r\n<br>\r\n<br>\r\n<!-- Enter Link 
-->\r\n\r\n<p><font size="1" 
 >[ws.e.20080118]</font><p>\r\n<title>Defra</title>\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER 
BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW 
FOOTER  -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n\r\n\t\t\t\t\t\t\t\t</div>'
localhost - - [27/Nov/2008 09:11:00] DEBUG: from server: 
'\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t</tbody>\r\n\t\t\t\t</table>\r\n\t\t\t\t<p 
align="center"><br/></p>\r\n\t\t\t\t<!--Footer-->\r\n\t\t\t\t<div 
id="footerb">\r\n\t\t\t\t\t<div id="footcopy">\r\n\t\t\t\t\t\t<h3 
class="access">Site 
navigation</h3>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li 
class="bordernone"><a 
href="http://www.defra.gov.uk/copyright.htm">&copy; Crown copyright</a> 
</li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/terms.htm">Terms &amp; 
conditions</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/privacy.htm">Privacy</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/help.asp">Help</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/feedback/feedback.htm">Feedback</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
id="footstrap">\r\n\t\t\t\t\t\t<p>Department for Environment, Food and 
Rural Affairs</p>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t</div> <!-- marg -->\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t<script language="javascript" 
type="text/javascript">\r\n\t\t\t\tdocument.write(\'<\\div>\');\r\n\t\t\t</script>\r\n\t\t\t<div></div>\r\n\t\t</div> 
<!-- container -->\r\n\t</div>\r\n</div>\r\n</body>\r\n</html>\r\n\r\n'
localhost - - [27/Nov/2008 09:11:00] DEBUG: to client: 
'\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t</tbody>\r\n\t\t\t\t</table>\r\n\t\t\t\t<p 
align="center"><br/></p>\r\n\t\t\t\t<!--Footer-->\r\n\t\t\t\t<div 
id="footerb">\r\n\t\t\t\t\t<div id="footcopy">\r\n\t\t\t\t\t\t<h3 
class="access">Site 
navigation</h3>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li 
class="bordernone"><a 
href="http://www.defra.gov.uk/copyright.htm">&copy; Crown copyright</a> 
</li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/terms.htm">Terms &amp; 
conditions</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/privacy.htm">Privacy</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/help.asp">Help</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/feedback/feedback.htm">Feedback</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
id="footstrap">\r\n\t\t\t\t\t\t<p>Department for Environment, Food and 
Rural Affairs</p>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t</div> <!-- marg -->\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t<script language="javascript" 
type="text/javascript">\r\n\t\t\t\tdocument.write(\'<\\div>\');\r\n\t\t\t</script>\r\n\t\t\t<div></div>\r\n\t\t</div> 
<!-- container -->\r\n\t</div>\r\n</div>\r\n</body>\r\n</html>\r\n\r\n'
localhost - - [27/Nov/2008 09:11:00] DEBUG: from server: ''
localhost - - [27/Nov/2008 09:11:00] DEBUG: request finished
[27/Nov/2008 09:11:00] queue contains 0 items
localhost - - [27/Nov/2008 09:11:00] DEBUG: Got GET request for 
http://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000, 
version 'HTTP/1.1'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header from client: 
connection:'Keep-Alive'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header from client: 
host:'secure.wms.defra.gov.uk'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header from client: 
proxy-connection:'keep-alive'
localhost - - [27/Nov/2008 09:11:00] DEBUG: modified client_request:
localhost - - [27/Nov/2008 09:11:00] DEBUG: HTTPRequestMessage: GET 
http://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000 
HTTP/1.1
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: connection:'Keep-Alive'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: 
host:'secure.wms.defra.gov.uk'
localhost - - [27/Nov/2008 09:11:00] DEBUG: header: 
proxy-connection:'keep-alive'
localhost - - [27/Nov/2008 09:11:00] DEBUG: body may be present but has 
not been read yet
localhost - - [27/Nov/2008 09:11:00] DEBUG: Converted url: 
'http://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000'
C:\InteProxy\library.zip\inteproxy\gtkapp.py:242: Warning: 
g_main_context_prepare() called recursively from within a source's 
check() or prepare() member.
C:\InteProxy\library.zip\inteproxy\gtkapp.py:242: Warning: 
g_main_context_check() called recursively from within a source's check() 
or prepare() member.
InteProxy Version 0.4.1
[27/Nov/2008 09:11:37] server starting up
[27/Nov/2008 09:11:37] starting 5 worker threads
[27/Nov/2008 09:11:37] serving HTTP on port 64609
[27/Nov/2008 09:11:58] queue contains 0 items
localhost - - [27/Nov/2008 09:11:58] DEBUG: Got GET request for 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities, 
version 'HTTP/1.1'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
accept-language:'en-gb,en;q=0.5'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
accept-encoding:'gzip,deflate'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
connection:'keep-alive'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
keep-alive:'300'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
accept:'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
user-agent:'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.4) 
Gecko/2008102920 Firefox/3.0.4'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
accept-charset:'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
localhost - - [27/Nov/2008 09:11:58] DEBUG: header from client: 
host:'localhost:64609'
localhost - - [27/Nov/2008 09:12:11] DEBUG: modified client_request:
localhost - - [27/Nov/2008 09:12:11] DEBUG: HTTPRequestMessage: GET 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
HTTP/1.1
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: 
accept-language:'en-gb,en;q=0.5'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: 
accept-encoding:'gzip,deflate'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: connection:'keep-alive'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: keep-alive:'300'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: 
accept:'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: 
user-agent:'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.4) 
Gecko/2008102920 Firefox/3.0.4'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: 
accept-charset:'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: host:'localhost:64609'
localhost - - [27/Nov/2008 09:12:11] DEBUG: header: authorization:'Basic 
ZjRqYWFyY3BkdWZiOkVSRzBVU0VS'
localhost - - [27/Nov/2008 09:12:11] DEBUG: body may be present but has 
not been read yet
localhost - - [27/Nov/2008 09:12:11] DEBUG: Converted url: 
'https://secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities'
localhost - - [27/Nov/2008 09:12:12] DEBUG: request sent
localhost - - [27/Nov/2008 09:12:12] DEBUG: HTTPResponseMessage: 
HTTP/1.1 302 Moved Temporarily
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: content-length:'5240'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: via:'1.1 
secure.wms.defra.gov.uk (Alteon iSD-SSL/4.2.1.11)'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: 
set-cookie:'AlteonP=f4e8b939f4e8b937baefbbd3; path=/, 
PD-H-SESSION-ID=4_fU9O1kC7MP8kgO8oXOVEtXSX-5jDGPBFmjyAC7T4qQiq5MX3; Path=/'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: 
location:'https://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: pragma:'no-cache'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: cache-control:'no-cache'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: date:'Thu, 27 Nov 
2008 09:12:11 GMT'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: p3p:'CP="NON CUR 
OTPi OUR NOR UNI"'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header: content-type:'text/html'
localhost - - [27/Nov/2008 09:12:12] DEBUG: body may be present but has 
not been read yet
localhost - - [27/Nov/2008 09:12:12] "GET 
/secure.wms.defra.gov.uk/SPIRE_WMS/WMS?SERVICE=WMS&REQUEST=GetCapabilities 
HTTP/1.1" 302 -
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
content-length:'5240'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: via:'1.1 
secure.wms.defra.gov.uk (Alteon iSD-SSL/4.2.1.11)'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
set-cookie:'AlteonP=f4e8b939f4e8b937baefbbd3; path=/, 
PD-H-SESSION-ID=4_fU9O1kC7MP8kgO8oXOVEtXSX-5jDGPBFmjyAC7T4qQiq5MX3; Path=/'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
location:'https://secure.wms.defra.gov.uk/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
pragma:'no-cache'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
cache-control:'no-cache'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: date:'Thu, 
27 Nov 2008 09:12:11 GMT'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
p3p:'CP="NON CUR OTPi OUR NOR UNI"'
localhost - - [27/Nov/2008 09:12:12] DEBUG: header to client: 
content-type:'text/html'
localhost - - [27/Nov/2008 09:12:12] DEBUG: from server: '<!DOCTYPE HTML 
PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN">\r\n<html>\r\n<head>\r\n<link 
href="/style/defra-main.css" rel="styleSheet" 
type="text/css">\r\n</head>\r\n<body>\r\n<script language="javascript" 
type="text/javascript">\r\n\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t//Internet Explorer\r\n\t\tdocument.write(\'<div 
id="wrapperz" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t} else 
{\r\n\t\t//Netscape etc\r\n\t\tdocument.write(\'<div 
id=\\"wrapperz\\">\');\r\n\t}\r\n</script>\r\n<div 
id="wrapperz">\r\n\t<div id="header">\r\n\t\t<ul 
class="access">\r\n\t\t\t   <li><a class="skiplink" href="#content" 
accesskey="S">Skip navigation to 
content</a></li>\r\n\t\t</ul>\r\n\t\t<div 
class="screenlogo"></div>\r\n\t\t<a href="http://www.defra.gov.uk/" 
title="Link to home page" class="printlogo"><img 
src="/graphics/logos/defra-printlogo.gif" width="117" height="72" 
alt="defra: Department for Environment, Food and Rural Affairs" 
height="72" width="117"></a>\r\n\t\t<h1 
class="access">Defra</h1>\r\n\t\t<h2 class="access">Department for 
Environment, Food and Rural Affairs</h2>\r\n\t\t<div 
id="topmenu">\r\n\t\t\t   <h3 class="access">Main menu</h3>\r\n\t\t\t   
<ul>\r\n\t\t\t\t      <li class="bordernone"><a 
href="http://www.defra.gov.uk/">Defra Home</a></li>\r\n\t\t\t\t      
<li><a 
href="http://www.defra.gov.uk/corporate/contacts/index.htm">Contact 
Defra</a></li>\r\n\t\t\t   </ul>\r\n\t\t</div>\r\n\t\t<div 
class="clearboth"></div>\r\n\t</div>\r\n\t\t<div 
id="stitle">\r\n\t\t<h2><!--Defra Security--></h2>\r\n\t</div>\r\n\t<div 
id="mainmenu">\r\n\t\t<h3 id="global_links" class="access">Global 
links</h3>\r\n\t\t<ul><li>&nbsp;<br/></li></ul>\r\n\t</div>\r\n\t<script 
language="javascript" 
type="text/javascript">\r\n\t\tdocument.write(\'<\\div>\');\r\n\t</script>\r\n\r\n\r\n\r\n\t<div>\r\n\r\n\t\t<div 
id="top">\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t</div>\r\n\t\t<script 
language="javascript" 
type="text/javascript">\r\n\t\t\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t\t\t//Internet Explorer\r\n\t\t\t\tdocument.write(\'<div 
id="container" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t\t\t} else 
{\r\n\t\t\t\t//Netscape etc\r\n\t\t\t\tdocument.write(\'<div 
id=\\"container\\">\');\r\n\t\t\t}\r\n\t\t</script>\r\n\t\t<div 
id="container">\r\n\t\t\t<div id="marg">\r\n\t\t\t  \t<table 
align="center" border="0" cellpadding="0" cellspacing="0" 
width="100%">\r\n\t\t\t\t\t<tbody>\r\n\t\t\t\t\t\t<tr 
height="100%">\r\n\t\t\t\t\t\t\t<td 
valign="top">\r\n\t\t\t\t\t\t\t\t<div id="leftnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="rightnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="content">\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- HEADER ABOVE HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- WS -->\r\n<title>Moved Temporarily</title>\r\n\r\n<!-- Enter 
Message Header -->\r\n<h1><font color="#FF0000">Moved 
Temporarily</font></h1>\r\n\r\n<p><!-- Enter Error Message -->\r\nThe 
Web resource you have requested has been temporarily 
moved.\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Error Explanation 
-->\r\n<H4>Explanation</H4>\r\n<P>The requested resource has been 
temporarily moved. This usually occurs if there has been a mishandled 
redirect.\r\n</P>\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Possible 
Solution -->\r\n<H4>Solutions</H4>\r\n<P><A 
HREF="http://secure.wms.defra.gov.uk:443/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000">Click 
here</A> to fetch the 
resource.\r\n</P>\r\n\r\n<br>\r\n<br>\r\n<br>\r\n<!-- Enter Link 
-->\r\n\r\n<p><font size="1" 
 >[ws.e.20080118]</font><p>\r\n<title>Defra</title>\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER 
BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW 
FOOTER  -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n\r\n\t\t\t\t\t\t\t\t</div>'
localhost - - [27/Nov/2008 09:12:12] DEBUG: to client: '<!DOCTYPE HTML 
PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN">\r\n<html>\r\n<head>\r\n<link 
href="/style/defra-main.css" rel="styleSheet" 
type="text/css">\r\n</head>\r\n<body>\r\n<script language="javascript" 
type="text/javascript">\r\n\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t//Internet Explorer\r\n\t\tdocument.write(\'<div 
id="wrapperz" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t} else 
{\r\n\t\t//Netscape etc\r\n\t\tdocument.write(\'<div 
id=\\"wrapperz\\">\');\r\n\t}\r\n</script>\r\n<div 
id="wrapperz">\r\n\t<div id="header">\r\n\t\t<ul 
class="access">\r\n\t\t\t   <li><a class="skiplink" href="#content" 
accesskey="S">Skip navigation to 
content</a></li>\r\n\t\t</ul>\r\n\t\t<div 
class="screenlogo"></div>\r\n\t\t<a href="http://www.defra.gov.uk/" 
title="Link to home page" class="printlogo"><img 
src="/graphics/logos/defra-printlogo.gif" width="117" height="72" 
alt="defra: Department for Environment, Food and Rural Affairs" 
height="72" width="117"></a>\r\n\t\t<h1 
class="access">Defra</h1>\r\n\t\t<h2 class="access">Department for 
Environment, Food and Rural Affairs</h2>\r\n\t\t<div 
id="topmenu">\r\n\t\t\t   <h3 class="access">Main menu</h3>\r\n\t\t\t   
<ul>\r\n\t\t\t\t      <li class="bordernone"><a 
href="http://www.defra.gov.uk/">Defra Home</a></li>\r\n\t\t\t\t      
<li><a 
href="http://www.defra.gov.uk/corporate/contacts/index.htm">Contact 
Defra</a></li>\r\n\t\t\t   </ul>\r\n\t\t</div>\r\n\t\t<div 
class="clearboth"></div>\r\n\t</div>\r\n\t\t<div 
id="stitle">\r\n\t\t<h2><!--Defra Security--></h2>\r\n\t</div>\r\n\t<div 
id="mainmenu">\r\n\t\t<h3 id="global_links" class="access">Global 
links</h3>\r\n\t\t<ul><li>&nbsp;<br/></li></ul>\r\n\t</div>\r\n\t<script 
language="javascript" 
type="text/javascript">\r\n\t\tdocument.write(\'<\\div>\');\r\n\t</script>\r\n\r\n\r\n\r\n\t<div>\r\n\r\n\t\t<div 
id="top">\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t</div>\r\n\t\t<script 
language="javascript" 
type="text/javascript">\r\n\t\t\tif(navigator.appName.indexOf(\'Microsoft\') 
 > -1) {\r\n\t\t\t\t//Internet Explorer\r\n\t\t\t\tdocument.write(\'<div 
id="container" style=\\"width:expression(document.body.clientWidth < 
1000? \\\'985px\\\': \\\'100%\\\');\\">\');\r\n\t\t\t} else 
{\r\n\t\t\t\t//Netscape etc\r\n\t\t\t\tdocument.write(\'<div 
id=\\"container\\">\');\r\n\t\t\t}\r\n\t\t</script>\r\n\t\t<div 
id="container">\r\n\t\t\t<div id="marg">\r\n\t\t\t  \t<table 
align="center" border="0" cellpadding="0" cellspacing="0" 
width="100%">\r\n\t\t\t\t\t<tbody>\r\n\t\t\t\t\t\t<tr 
height="100%">\r\n\t\t\t\t\t\t\t<td 
valign="top">\r\n\t\t\t\t\t\t\t\t<div id="leftnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="rightnav"> 
</div>\r\n\t\t\t\t\t\t\t\t<div id="content">\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- HEADER ABOVE HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  HEADER ABOVE  
HEADER ABOVE -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- WS -->\r\n<title>Moved Temporarily</title>\r\n\r\n<!-- Enter 
Message Header -->\r\n<h1><font color="#FF0000">Moved 
Temporarily</font></h1>\r\n\r\n<p><!-- Enter Error Message -->\r\nThe 
Web resource you have requested has been temporarily 
moved.\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Error Explanation 
-->\r\n<H4>Explanation</H4>\r\n<P>The requested resource has been 
temporarily moved. This usually occurs if there has been a mishandled 
redirect.\r\n</P>\r\n\r\n<BR><BR><BR>\r\n\r\n<!-- Provide Possible 
Solution -->\r\n<H4>Solutions</H4>\r\n<P><A 
HREF="http://secure.wms.defra.gov.uk:443/caraeai/CARAEAInterface?TAM_OP=login&ERROR_CODE=0x00000000">Click 
here</A> to fetch the 
resource.\r\n</P>\r\n\r\n<br>\r\n<br>\r\n<br>\r\n<!-- Enter Link 
-->\r\n\r\n<p><font size="1" 
 >[ws.e.20080118]</font><p>\r\n<title>Defra</title>\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n<!-- FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER 
BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW FOOTER BELOW 
FOOTER  -->\r\n<!-- 
***************************************************************************************************************************************** 
-->\r\n\r\n\t\t\t\t\t\t\t\t</div>'
localhost - - [27/Nov/2008 09:12:12] DEBUG: from server: 
'\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t</tbody>\r\n\t\t\t\t</table>\r\n\t\t\t\t<p 
align="center"><br/></p>\r\n\t\t\t\t<!--Footer-->\r\n\t\t\t\t<div 
id="footerb">\r\n\t\t\t\t\t<div id="footcopy">\r\n\t\t\t\t\t\t<h3 
class="access">Site 
navigation</h3>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li 
class="bordernone"><a 
href="http://www.defra.gov.uk/copyright.htm">&copy; Crown copyright</a> 
</li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/terms.htm">Terms &amp; 
conditions</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/privacy.htm">Privacy</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/help.asp">Help</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/feedback/feedback.htm">Feedback</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
id="footstrap">\r\n\t\t\t\t\t\t<p>Department for Environment, Food and 
Rural Affairs</p>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t</div> <!-- marg -->\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t<script language="javascript" 
type="text/javascript">\r\n\t\t\t\tdocument.write(\'<\\div>\');\r\n\t\t\t</script>\r\n\t\t\t<div></div>\r\n\t\t</div> 
<!-- container -->\r\n\t</div>\r\n</div>\r\n</body>\r\n</html>\r\n\r\n'
localhost - - [27/Nov/2008 09:12:12] DEBUG: to client: 
'\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t</tbody>\r\n\t\t\t\t</table>\r\n\t\t\t\t<p 
align="center"><br/></p>\r\n\t\t\t\t<!--Footer-->\r\n\t\t\t\t<div 
id="footerb">\r\n\t\t\t\t\t<div id="footcopy">\r\n\t\t\t\t\t\t<h3 
class="access">Site 
navigation</h3>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li 
class="bordernone"><a 
href="http://www.defra.gov.uk/copyright.htm">&copy; Crown copyright</a> 
</li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/terms.htm">Terms &amp; 
conditions</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   <li><a 
href="http://www.defra.gov.uk/privacy.htm">Privacy</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/help.asp">Help</a></li>\r\n\t\t\t\t\t\t\t\t\t\t\t   
<li><a 
href="http://www.defra.gov.uk/feedback/feedback.htm">Feedback</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
id="footstrap">\r\n\t\t\t\t\t\t<p>Department for Environment, Food and 
Rural Affairs</p>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t</div> <!-- marg -->\r\n\t\t\t<div 
class="clearboth"></div>\r\n\t\t\t<script language="javascript" 
type="text/javascript">\r\n\t\t\t\tdocument.write(\'<\\div>\');\r\n\t\t\t</script>\r\n\t\t\t<div></div>\r\n\t\t</div> 
<!-- container -->\r\n\t</div>\r\n</div>\r\n</body>\r\n</html>\r\n\r\n'
localhost - - [27/Nov/2008 09:12:12] DEBUG: from server: ''
localhost - - [27/Nov/2008 09:12:12] DEBUG: request finished


Stephan Holl wrote:
> Hello Neil,
>
> Neil Alexander <neil.alexander at zoo.ox.ac.uk>, [20081126 - 09:10:23]
>
>   
>> 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
>>     
>
> I think host should read "secure.wms.defra.gov.uk" without the full
> path.
> Also, class should be basicauth. I tried in my browser and a
> basic-auth-dialog raised.
>
> [secure.wms.defra.gov.uk/SPIRE_WMS/WMS]
> host=secure.wms.defra.gov.uk
> path=/SPIRE_WMS/WMS
> class=basicauth
>
> Then it _should_ work.
>
> Best regards
>
> 	Stephan
>
>   
>> 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/20081127/d62f3cea/attachment-0001.htm


More information about the Inteproxy-devel mailing list