lunedì 1 marzo 2010
venerdì 26 febbraio 2010
martedì 16 febbraio 2010
Prove MapServer con FastCGI su Dcarto3
PROVE: INSTALLAZIONE MS4W + FASTCGI su DCARTO3
Copiato MS4W in d:\
Configurato la porta 88 per apache (in httpd.conf su D:\ms4w\Apache\conf)
Installato apache come servizio (apache-install.bat)
Installato Visual C++ 2008 Redistributable Package (salvato in e:\installa\vcredist_x86.exe)
Open /ms4w/Apache/conf/httpd.conf in a text editor
Uncomment line#128,
LoadModule fcgid_module modules/mod_fcgid.so
At the bottom of the file you will see a commented "
" section. If you want to use FastCGI directives (listed on the mod_fcgid page) you can uncomment the section and add your directives, such as: FcgidMinProcessesPerClass 0
FcgidIdleScanInterval 1
FcgidProcessLifeTime 10
-
To benefit from the persistence of mapserv.exe in fastCGI mode you should add the following line to the LAYER sections in your map files with expensice connections (e.g. PostGIS, ArcSDE, etc):
PROCESSING "CLOSE_CONNECTION=DEFER"
installazione mapserver 5.6
Installato Mapserver 5.6 su dcarto3:
effettuate prove:
- modificare mapfile per sostituire “#--------------------- MAP ---------------------------” con MAP
- modificare _creamapfileCS.asp
- Problemi con label con campi concatenati: al momento non ci sono layer con label concatenate
- la dimensione delle label è maggiore
- PROBLEMA: se impostato parametro &SLD= con SLD vuoto 5.6 dà errore: modificati programmi
- modificati mapfiles statici:
- \mapfiles\polis\polis.map
- \mapfiles\sigmater\s3wms_agp_rer.map
- \mapfiles\sigmater\s3_comge.map
- \mapfiles\sigmater\Sigma3_comge.map
- \mapfiles\vincoli\vincoli.map
- \Natura2000ADM\habitat.map
- \Natura2000ADM\habitatCLASSI.map
- \Natura2000ADM\specie.map
- \mapfiles\repertoriocartografico\pianificazione\1199bis.map