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"
Nessun commento:
Posta un commento