On Wed, Nov 19, 2008 at 12:59:25PM -0700, Matt Kenny wrote: > Hello Everyone! Over the weekend, I use FWTools to create a WFS and WMS with > some sample data on my shared hosting account with dreamhost.com. Both work > fine when calling them from QGIS, but I'd like to use openlayers to allow > users to both spatial and attribute information about my source data. I soon > realized however, that i needed to use the example proxy.cgi script in order > to display the WFS data.
You shouldn't. Your MapServer is running on Dreamhost, right? All you have to do is ensure that the: http://myhost/ Is the same in both your WFS layer and the HTML document you're accessing. You can generally *ensure* this by making the WFS layer load from "/cgi-bin/mapserv" -- if the URL is relative (rather than absolute) then there's no way you can break the same origin policy. I would recommend tryign this, unless I'm seriously misunderstanding your problem. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
