[rt-devel] [PATCH] FastCGI documentation update
Jesse Vincent
jesse at bestpractical.com
Wed Jan 9 15:23:52 EST 2002
Indeed there is a typo in the docs. Thanks very much. I'll fix that
up right now.
As a heads up, you should be aware that your configuration change will break
attachment downloading.
-j
On Wed, Jan 09, 2002 at 08:50:42AM -0800, Blair Zajac wrote:
> In trying to get FastCGI going, I discovered a typo and how to get FastCGI
> working.
>
> There is a typo on
>
> http://fsck.com/rtfm/article.html?id=2
>
> I think the line
>
> AddHandler fastcgi-script fsgi
>
> should read
>
> AddHandler fastcgi-script fcgi
>
> the last s -> c.
>
> The documented additions to httpd.conf for FastCGI are:
>
> LoadModule fastcgi_module modules/mod_fastcgi.so
> AddModule mod_fastcgi.c
> AddHandler fastcgi-script fsgi
> FastCgiServer /path/to/rt2/bin/mason_handler.fcgi
> ScriptAlias / /path/to/rt2/bin/mason_handler.fcgi
>
> ScriptAlias will send all requests for any HTML and non-HTML content to
> the mason_handler.fcgi, which is not what one wants to do. Only URLs ending
> in / or .html should be handled by the mason_handler.fcgi and everything
> else served normally. This does the trick:
>
> LoadModule fastcgi_module modules/mod_fastcgi.so
> AddModule mod_fastcgi.c
> AddHandler fastcgi-script fcgi
> FastCgiServer /path/to/rt2/bin/mason_handler.fcgi
> ScriptAliasMatch (.*/)$ /path/to/rt2/bin/mason_handler.fcgi$1
> ScriptAliasMatch (.*\.html)$ /path/to/rt2/bin/mason_handler.fcgi$1
>
> Best,
> Blair
>
> --
> Blair Zajac <blair at orcaware.com>
> Web and OS performance plots - http://www.orcaware.com/orca/
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
--
http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free.
More information about the Rt-devel
mailing list