Did you mean the code to put in the config file?

....
        <proxyUrl>../../server/php/proxy.php</proxyUrl>
</MapbuilderConfig>

Hope this helps...

Luca

On 7/20/07, Lex Tiekink <[EMAIL PROTECTED]> wrote:
> Hi Linda,
>
>
> I have that definition in my XML file. The problem is that I would like the
> WMS to be accessed through the proxy.php. Do you know if there's a way to
> configure this?
>
> Rgds,
>
>
> Lex Tiekink
>
>
> -----Original Message-----
> From: Linda Derezinski [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 20 juli 2007 19:01
> To: Lex Tiekink; '[email protected]'
> Subject: Re: [Mapbuilder-devel] WMS access through proxy ...
>
> In your configuration file which defines the OWSContext you should have a
> FeatureType definition.  Here is an example (I removed the SLD information):
>
> <wmc:FeatureType hidden="0" id="fire209">
>     <wmc:Server service="OGC:WFS" version="1.0.0" title="EO1
>     GeoBliki"> <wmc:OnlineResource method="post" xlink:type="simple"
>         xlink:href="http://eo1.geobliki.com/wfs"/> </wmc:Server>
> <wmc:Name>Fire209 Query</wmc:Name>
>     <wmc:Title>Fire 209 Query</wmc:Title> <wfs:GetFeature version="1.0.0"
> service="WFS"
>         maxFeatures="1000"> <wfs:Query typeName="fire209"> <ogc:Filter>
> <ogc:And> <ogc:BBOX>
>             <ogc:PropertyName>location</ogc:PropertyName> <gml:Box
> srsName="EPSG:4326"> <gml:coordinates>-125,31
>                 -104,50</gml:coordinates> </gml:Box></ogc:BBOX>
> <ogc:PropertyIsBetween>
>                     <ogc:PropertyName>created_at</ogc:PropertyName>
>
> <ogc:LowerBoundary><DateTime>2007-01-01T00:00:00Z</DateTime></ogc:LowerBound
> ary>
>
> <ogc:UpperBoundary><DateTime>2008-01-01T00:00:00Z</DateTime></ogc:UpperBound
> ary>
>                 </ogc:PropertyIsBetween> </ogc:And> </ogc:Filter>
> </wfs:Query> </wfs:GetFeature>  </wmc:FeatureType>
>
>
>
>
> On 7/20/07 12:25 PM, "Lex Tiekink" <[EMAIL PROTECTED]> wrote:
>
> > Hi Everybody,
> >
> >
> > I'm building a site with mapbuilder/geoserver and would like to access the
> > Geoserver WMS through the proxy.php of mapbuilder (so I can close the
> > Tomcat/Geoserver port for the outside world).
> > I've looked through the mapbuilder code all afternoon, but cannot find the
> > spot where the actual communication between mapbuilder and the Geoserver
> WMS
> > takes place. Can anybody give me a hint? (If there's an easier way to do
> > this, please let me know).
> >
> > Kind regards,
> >
> >
> >
> > Lex Tiekink
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > mapbuilder-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> mapbuilder-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to