[Gfoss] mapserver su osx 10.4.5

epi fanio massimodisasha at yahoo.it
Sat Apr 1 23:28:44 CEST 2006


salve,
ho da un po di tempo installato mapserver non da sorgente ma tramite  
i vari file .pkj come descritto a questa
> pagina : http://www.kyngchaos.com/macosx/downloads.php
>
>
mi trovo però in difficoltà nel visualizzare la demo di mapserver,
ho provato a settare i file index.html
e itasca.map
ma senza successo (premetto che sono inesperto di mapserver e i miei  
errori vi potrebbero risultare banali)

--ho copiato il workshop nella cartella siti della mia home :
   ~/Sites                 (users/epi/sites)

--l'eseguibile "mapserv" si trova in :

    /Library/WebServer/CGI-Executables/


ecco come ho editato ifile :

1)index html :

<!-- EDIT THE FORM ACTION -->
     <form name="demo" method="GET" action="/Library/WebServer/CGI- 
Executables/mapserv" onSubmit="submit_form()">

       <input type="hidden" name="layer" value="lakespy2">
       <input type="hidden" name="layer" value="dlgstln2">
       <input type="hidden" name="zoomsize" value=2>

...
...

<!-- EDIT THESE HIDDEN VARIABLES -->
       <input type="hidden" name="map" value="/Users/epi/Sites/ 
workshop/itasca.map">
       <input type="hidden" name="program" value="/Library/WebServer/ 
CGI-Executables/mapserv">
       <input type="hidden" name="root" value="/mapserver_demos/ 
workshop">
       <input type="hidden" name="map_web_imagepath" value="/Library/ 
WebServer/Documents/tmp/">
       <input type="hidden" name="map_web_imageurl" value="/tmp/">


2) itasca.map :

# change this value to match your setup
       WMS_ONLINERESOURCE "http://192.168.1.8/~epi/workshop/index.html"


ho creato una cartella tmp in :

/Library/WebServer/Documents/tmp/

ho attivato condivisione web in preferenze di sistema
poi sono andato con safari su :

http://192.168.1.8/~epi/workshop/index.html

ma quando clicco su initialize mi da questo errore :

The requested URL /Library/WebServer/CGI-Executables/mapserv was not  
found on this server.


c'è qualche mac-user che può darmi una mano?
grazie di tutto !!!
Massimo.
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://www.faunalia.com/pipermail/gfoss/attachments/20060401/2d5bc56c/attachment.htm 


More information about the Gfoss mailing list