Hi Sam,

I think you are still hitting the cross domain restriction which means that
you need to proxy on the same host (including port) that is serving up the
html. So if you are serving the html from port 80 your proxy also needs to
run port 80. Or if you want to use the geoserver proxy extension which will
run on port 8080, you need to serve your html from port 8080.

So you probably need to set up the proxy in port IIS directly.
Or alternatively you can serve up the app directly from geoserver which
would mean you would not need a proxy at all to access the geoserver WFS,
since they would be on the same host and port. To do this simply copy the
html into the www directory of the geoserver install.

Hope that helps. Unfortunately the docs on this are a bit lacking.

-JD

On Sun, Sep 12, 2010 at 9:37 AM, Samuel Smith <[email protected]> wrote:

>  List,
>
>
>
> I’d be forever grateful for a hand configuring my GeoServer proxy.
>
>
>
> I’m trying to effect this code …
>
>
>
> *        var vlayer = new OpenLayers.Layer.Vector(*
>
> *                                "vector test", {*
>
> *                                strategies: [new
> OpenLayers.Strategy.Fixed()],*
>
> *                                protocol: new OpenLayers.Protocol.WFS({*
>
> *                                                url: "
> http://smartmonkeys.ca:8080/geoserver/ows?",*
>
> *                                                version: "1.0.0",*
>
> *                                                featureType:
> "Water_Points",*
>
> *                                                featureNS: "
> http://smartmonkeys.ca:8080/geoserver/ ",*
>
> *                                })*
>
> *                });*
>
>
>
> … on an html:80 page to my geoserver:8080.
>
>
>
> Per the node here (
> http://geoserver.org/display/GEOS/GeoServer+Proxy+Extension), I’ve
> installed the GeoServer proxy extension and added smartmonkey.ca to my
> list of hostnames.
>
>
>
> That’s where the smartmonkey runs out … Any pointers much appreciated, I’ll
> gladly contribute our success back into the project Docs.
>
>
>
> SFS
>
> * *
>
> *Samuel Smith *
>
> Groundlevel Geographics [DBA]
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to