[mapserver-commits] r12110 -
branches/branch-6-0/docs/en/optimization trunk/docs/en/optimization
svn at osgeo.org
svn at osgeo.org
Wed Aug 24 09:36:39 EDT 2011
Author: havatv
Date: 2011-08-24 06:36:39 -0700 (Wed, 24 Aug 2011)
New Revision: 12110
Modified:
branches/branch-6-0/docs/en/optimization/fastcgi.txt
trunk/docs/en/optimization/fastcgi.txt
Log:
Added examples on how to use fastCGI (#3123).
Modified: branches/branch-6-0/docs/en/optimization/fastcgi.txt
===================================================================
--- branches/branch-6-0/docs/en/optimization/fastcgi.txt 2011-08-24 09:18:12 UTC (rev 12109)
+++ branches/branch-6-0/docs/en/optimization/fastcgi.txt 2011-08-24 13:36:39 UTC (rev 12110)
@@ -87,10 +87,38 @@
-appConnTimeout 60 -idle-timeout 60 -init-start-delay 1
-minProcesses 2 -maxClassProcesses 20 -startDelay 5
-4. Install a copy of the mapserv executable into the cgi-bin directory
- with the extension .fcgi (ie. mapserv.fcgi). Use this executable when
- you want to utilize fastcgi support.
+4. Install a copy of the mapserv executable (originally **mapserv**
+ or **mapserv.exe**) into the cgi-bin directory with the extension
+ **.fcgi** (ie. **mapserv.fcgi**). Use this executable when you
+ want to utilize fastcgi support.
+ For some platforms, the Mapserver link would then have to changed
+ from:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv?MAP=/path/to/mapfile.map
+
+ To:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.fcgi?MAP=/path/to/mapfile.map
+
+ For other platforms, the Mapserver link would then have to changed
+ from:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.exe?MAP=/path/to/mapfile.map
+
+ To:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.fcgi?MAP=/path/to/mapfile.map
+
+
5. In your mapfile, set a PROCESSING directive to tell FastCGI to cache
the connections and layer information on all layers for which connection
caching is desired - ie. all slow layers.
Modified: trunk/docs/en/optimization/fastcgi.txt
===================================================================
--- trunk/docs/en/optimization/fastcgi.txt 2011-08-24 09:18:12 UTC (rev 12109)
+++ trunk/docs/en/optimization/fastcgi.txt 2011-08-24 13:36:39 UTC (rev 12110)
@@ -87,10 +87,38 @@
-appConnTimeout 60 -idle-timeout 60 -init-start-delay 1
-minProcesses 2 -maxClassProcesses 20 -startDelay 5
-4. Install a copy of the mapserv executable into the cgi-bin directory
- with the extension .fcgi (ie. mapserv.fcgi). Use this executable when
- you want to utilize fastcgi support.
+4. Install a copy of the mapserv executable (originally **mapserv**
+ or **mapserv.exe**) into the cgi-bin directory with the extension
+ **.fcgi** (ie. **mapserv.fcgi**). Use this executable when you
+ want to utilize fastcgi support.
+ For some platforms, the Mapserver link would then have to changed
+ from:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv?MAP=/path/to/mapfile.map
+
+ To:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.fcgi?MAP=/path/to/mapfile.map
+
+ For other platforms, the Mapserver link would then have to changed
+ from:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.exe?MAP=/path/to/mapfile.map
+
+ To:
+
+ ::
+
+ http://your.domain.name/cgi-bin/mapserv.fcgi?MAP=/path/to/mapfile.map
+
+
5. In your mapfile, set a PROCESSING directive to tell FastCGI to cache
the connections and layer information on all layers for which connection
caching is desired - ie. all slow layers.
More information about the mapserver-commits
mailing list