You are not logged in Log in Join
You are here: Home » Members » Chui Tey » How to set up FastCGI for Zope on Windows, and Apache

Log in
Name

Password

 

How to set up FastCGI for Zope on Windows, and Apache

Background

There are some particular issues with setting up FastCGI on Windows with Apache, because on my machine DocumentRoot is at D:\dev\...\apache\htdocs.

I don't really have time to figure out whether Apache maps a file as D:\dev\...\apache\htdocs, or D:/dev/.../apache/htdocs, or /dev/.../apache/htdocs.

Loading FastCGI:

  LoadModule fastcgi_module modules/mod_fastcgi.dll

  ...

  AddModule mod_fastcgi.c

My Setup

Here is a fragment of my apache\conf\httpd.conf::

<IfModule mod_fastcgi.c>
#
# mapURL all requests to /zope to a file on .../cgi-bin/zope
#
ScriptAlias /zope /dev/2.62.00/WEBFLOW/apache/cgi-bin/zope
#
# map all requests to .../cgi-bin/zope
FastCgiExternalServer /dev/2.62.00/WEBFLOW/apache/cgi-bin/zope -host localhost:8999 -pass-header Authorization -appConnTimeout 0

<Directory /dev/2.62.00/WEBFLOW/apache/cgi-bin> allow from all AllowOverride None Options ExecCGI FollowSymLinks order allow,deny SetHandler fastcgi-script </Directory>

</IfModule>