          "/mysite.fcgi" => (
              "main" => (
                  # Use host / port instead of socket for TCP fastcgi
                  # "host" => "127.0.0.1",
                  # "port"  => 3033,
                  "socket" => "/home/user/mysite.sock",
                  "check-local" => "disable",
              )
          ),
      )
 
</s> remove Running multiple django sites on one LigHTTPd
 </s> add Running multiple django sites on one lighttpd </s> remove     # Connect to FastCGI via a socket / named pipe
 </s> add     * Use the ``FastCGIExternalServer`` directive to specify the location of
      your FastCGI server.
    * Use ``mod_rewrite`` to point URLs at FastCGI as appropriate.

.. _mod_fastcgi: http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html

Specifying the location of the FastCGI server
---------------------------------------------

The ``FastCGIExternalServer`` directive tells Apache how to find your FastCGI
server. As the `FastCGIExternalServer docs`_ explain, you can specify either a
``socket`` or a ``host``. Here are examples of both::

    # Connect to FastCGI via a socket / named pipe. </s> remove     # Connect to FastCGI via a TCP host/port
    # FastCGIExternalServer /home/user/public_html/mysite.fcgi -host 127.0.0.1:3033
 </s> add  </s> remove Add the following to your ``httpd.conf``::
 </s> add Once you've got that set up, point Apache at your Django FastCGI instance by
editing the ``httpd.conf`` (Apache configuration) file. You'll need to do two
things: </s> remove configured, with mod_fastcgi installed and enabled. Consult the Apache
 </s> add configured, with `mod_fastcgi`_ installed and enabled. Consult the Apache
                # "port" => 3033,
          "/mysite.fcgi" => (
              "main" => (
                  # Use host / port instead of socket for TCP fastcgi
                  # "host" => "127.0.0.1",
                # "port" => 3033,
                  "socket" => "/home/user/mysite.sock",
                  "check-local" => "disable",
              )
          ),
      )
keep keep keep keep replace keep keep keep keep keep
 More proofreading to docs/fastcgi.txt. Still not finished.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3204 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/fastcgi.txt