Hello Richard As you correctly guessed, i'm working with a windows client and i have a linux server. Specifically in this case i'm using my friends gisvm server (Ricardo Pinho, Portugal) and the server has a /mapas subdirectory that is a symbolic link to /home/user/gisdata.
/home/user/gisdata is a samba shared subdirectory that I access from my windows client as \\gisvmsrv\gisdata. We assume we cant use the "windows samba url" because the final .map file is going to reside in the linux server under /mapas. Maybe its just a case of (manually) renaming the online_resource inside the .map file to adjust for mapserver to find the file in the server. Thanks, Orlando 2010/2/8 Richard Duivenvoorde <[email protected]> > Hi Orlando, > > the url's you see in the alert after the successfull generating of the > mapfiles was intended to be a fast way of just testing the mapfile and view > of it. Normally url's like this should be working, it's 'standard' checking > stuff of mapserver, see http://mapserver.org/cgi/controls.html > It's always better to check it via a real wms-client like QGIS, an > OpenLayers client or gvsig. > > if it is not working, there are some things to check: > 1) in the url of your mail of tody I see 'modo' this should be 'mode', but > I think that is just a typo of you > > > http://localhost/cgi-bin/mapserv?map=/mapas/toponimia.map&modo=map&layers=all > should be > > http://localhost/cgi-bin/mapserv?map=/mapas/toponimia.map&mode=map&layers=all > > 2) Is http://localhost/cgi-bin/mapserv?map=/mapas/toponimia.map a valid > url on your machine? > > 3) Is the mapfile /mapas/toponimia.map a valid path to your map? > > If both questions are true, what then do you see if you ask for the > capabilities of this server? > > You are running linux isn't it? > > Another caveat for different findings with different clients is that there > is not a valid mapserverurl in the 'ows_onlineresource' metadata of the > mapfile. Lately most clients look for THAT url to do a getmap request. But > older clients actually use the url (host/path) of the capabilities url you > gave them. > > If you still have problems, please let us know (with as much info as > possible: (OS, QGIS-version, mapfile, projectfile) it's always possible > that you found a bug ... > > Regards, > > Richard Duivenvoorde > > > > legio nostra wrote: > >> Hello everyone, >> >> I am trying to export a map to the mapserver and I'm using qgis trunk. >> >> After doing OK, it creates a file named "toponimia.map. Then I try to view >> the map "via browser" and I see a blank page, while in >> >> gvSIG 1.1.2 version, the map appears via browser. >> >> What remains to be done to be able to view the map via browser window, >> where I can see the files: symbols.txt and fonts.txt QGis >> >> is supposed to create. >> >> Thank you for your help >> >> -- orlando bernardo -- >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Qgis-user mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> > > -- -- orlando bernardo --
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
