Molto alla veloce ti chiederei se i permessi dell'eseguibile sono quelli
giusti.
Ciao
Andrea
On Saturday 01 April 2006 23:28, epi fanio wrote:
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.
--
____________________________________________________________________________
HydroloGIS - Environmental Safety Modelling
www.hydrologis.com
Andrea Antonello
Environmental Engineer
mobile: +393288497722
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________