durusmail: quixote-users: scgi configuration for Apache?
scgi configuration for Apache?
2003-11-25
2003-11-26
2003-11-26
2003-11-26
scgi configuration for Apache?
Neil Schemenauer
2003-11-26
On Wed, Nov 26, 2003 at 10:54:18AM -0800, Dave Kuhlman wrote:
> Perhaps the following sequence is what should be trying to set-up.
>
>   client/browser --> Apache --> mod_scgi --> scgi server --> my quixote code

That's right.  See Andrew's snazzy looking whitepaper for diagrams:

  http://quixote.ca/overview/paper.html

> And, the following in my Apache httpd.conf is doing the re-direct
> for me, right?
>
>     LoadModule scgi_module
>     /usr/local/lib/python2.3/site-packages/mod_scgi.so
>     
>         SCGIServer 127.0.0.1 3001
>         SCGIHandler On
>     

It's not really a redirect.  The Location directive tells Apache
that everything under / should be handled by the SCGI server.  You
can have multiple Location directives and you can also disable the
SCGI handler on sub-directories.  For example:

    
        SCGIServer 127.0.0.1 3001
        SCGIHandler On
    
    
        SCGIHandler Off
    

Which means that anything under /images/ will use Apache handlers
(e.g. static files), while everything else will be handled by the
SCGI server on port 3001.

  Neil

reply