[rt-devel] [PATCH] FastCGI documentation update

Blair Zajac blair at orcaware.com
Wed Jan 9 16:00:12 EST 2002


Jesse Vincent wrote:
> 
> On Wed, Jan 09, 2002 at 12:40:30PM -0800, Blair Zajac wrote:
> > Jesse Vincent wrote:
> > > As a heads up, you should be aware that your configuration change will break
> > > attachment downloading.
> > >
> > >         -j
> >
> > OK.  Did the previous method with ScriptAlias ever work?
> 
> Yeah. I've used it a fair bit on development/testing boxes. Though it would
> be good to hear from the field too.

I'm using Apache 1.3.22 and when I use

    ScriptAlias / /path/to/rt2/bin/mason_handler.fcgi

for anything else than RT's home page, I get these error logs:

    [Wed Jan  9 12:57:17 2002] [error] [client 172.30.1.171] script not found
    or unable to stat: /export/home1/apache/rt-2.0.11/bin/mason_handler.fcgiUser

This is trying to request

    http://rt/User/Prefs.html

When I try to request

    http://rt/NoAuth/webrt.css

I get a 404.

When I use ScriptAliasMatch, I pass only the stuff off to FastCGI that needs
to be handled (modulo the SelfService and attachment downloading).

> 
> >
> > Would an additional ScriptAlias work that checks for something like
> >
> >     ScriptAliasMatch ^/Ticket/Attachment(/.*)$ \
> >         /path/to/rt2/bin/mason_handler.fcgi/Ticket/Attachment/dhandler$1
> >
> > work?  I tried to get this going, but it doesn't work.
> 
> I'm not familiar with ScriptAliasMatch.

It lets you use more complicated regular expression in the match and save
the matches inside of ()'s to the target path.

> I believe you'd also have to do the same thing for SelfService.

OK.

> What inside the RT tree do you want to serve out without the fastcgi handler?

I want to use fastcgi everywhere, but when 
> 
>         -j
> 
> --
> http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.

-- 
Blair Zajac <blair at orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/




More information about the Rt-devel mailing list