> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens zhuhua zha
> #!C:/Python24/python.exe -u
> This is very important for windows.
> Last, add this line in ur init function. 
> OpenLayers.ProxyHost = ‘/mybin/proxy.py?url=’.
> OK, refresh your web, u can get response GML file for
> the GetFeature request. Have a try.
> 

Somthing like:

<%@ LANGUAGE="VBScript" %>
<%
    ' 
http://classicasp.aspfaq.com/general/how-do-i-read-the-contents-of-a-remote-web-page.html
    ' this code requests the raw RSS/XML and saves the response as a string 
<RSSFeed>

    Option Explicit
    Dim objHTTP ' this object is used to call the RSS Feed remotely
    Dim RSSURL,RSSFeed ' these variables hold the URL and Content for the RSS 
Feed

    RSSURL = (Request.QueryString("url"))
    'optionally do url verification here

    Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
    objHTTP.open "GET",RSSURL,false
    objHTTP.send ""
    RSSFeed = objHTTP.responseText
    Response.ContentType="text/xml"
    Response.Write RSSFeed
%>

In a .asp page also does the trick and save you the trouble of installing and 
maintaining the extra runtime

Met vriendelijke groet,
 
Mark Prins
applicatie ontwikkelaar Geo-Informatie Systemen

GIS Competence Center (een samenwerking van DLG en DR)
Dienst Landelijk Gebied
Kamer 11.23
Herman Gorterstraat 5
3511 EW Utrecht
Postbus 20021
3502 LA Utrecht
tel 030 275 6877
fax 030 275 6999


Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet 
de geadresseerde bent of dit bericht abusievelijk aan u is gezonden, wordt u 
verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat 
aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband 
houdt met risico's verbonden aan het elektronisch verzenden van berichten. 

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. The State accepts no 
liability for damage of any kind resulting from the risks inherent in the 
electronic transmission of messages.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to