[MS4W-Users] MS4W Fastcgi on 64 bit computers

Donald Kerr donald.kerr at dkerr.co.uk
Tue Jul 3 09:20:39 EST 2012


Mark,

Are you using Apache or IIS? If Apache, then follow the instructions on the
MS4W website for invoking FastCGI. Notes I have are as below:

Apache:

Enable FastCGI by uncommenting out the line "LoadModule fcgid_module
/modules/mod_fcgid.so" in d:\ms4w\apache\conf\httpd.conf and also the
following section in the the same file:
 
<IfModule fcgid_module>
   FcgidMinProcessesPerClass 0
   FcgidIdleScanInterval 1
   FcgidProcessLifeTime 10 
</IfModule>

IIS:

1.  Mapserver via FastCGI
    i.     In IIS Manager (IIS7/7.5), click your website then double-click
Handler Mappings in the centre panel.
    ii.     In the Actions Pane, click Add Module Mapping then set the
following:
      1. Request path:          *.exe
      2. Module:                   FastCgiModule
      3. Executable:             d:\<YourPath>\cgi-bin\mapserv.exe
      4. Name:                     Mapserver via FastCGI
      5. Click on Request Restrictions and set the following:
      a. Mapping Tab: Check "Invoke hander . ", then set for "File".
      b. Verbs Tab: "One of the following .", enter "GET, HEAD, POST".
      c. Access Tab: Check "Execute".
      d. Whilst the CGI-exe handler mapping is highlighted, click on Edit
feature permissions in the right hand panel then ensure that read, script
and execute are checked.

I haven't had much success running a full 64 bit version all the way through
and have opted, so far, to run 32 bit in the 64 bit environment.

I hope this helps.

Regards,

Donald


-----Original Message-----
From: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of Mark Volz
Sent: 03 July 2012 14:36
To: MS4W-Users at lists.maptools.org
Subject: [MS4W-Users] MS4W Fastcgi on 64 bit computers


Hello,

I have MS4W installed on Windows 2008 Server which is 64 bit.  I was looking
at the instructions to enable fastcgi.  According to the instructions I need
to install the Visual C++ 2010 SP1 Redistributable Package.  I just would
like to check if I should install the 32 bit version of Visual C++
Redistributable or the 64 bit version.

Thank You.


Mark Volz
GIS Specialist



More information about the MS4W-Users mailing list