[rt-users] Re: Error "You are almost there!"
Yongrui Tang
ytang at uchicago.edu
Wed Sep 20 15:06:11 EDT 2006
Hi Andrew,
Thanks for the information. The addhandler was missing in my
posting. but actually it was in the configuration.
I changed the configuration as follows, but it still can't work.
Others mentioned change webpath to "/rt". But it is same result, no
matter it is "" or "/rt". I also tried "<Location /rt/> DirectoryIndex
index.html </Location> " and it didn't help.
Any idea?
httpd.conf
<VirtualHost *:8080>
ServerName test.uchicago.edu:8080
DocumentRoot "/opt/pkgs/rt/3.4.5/html"
AddHandler fastcgi-script .fcgi
<Directory "/opt/pkgs/rt/3.4.5/html">
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
Alias /NoAuth/images/ /opt/pkgs/rt/stable/html/NoAuth/images/
ScriptAlias /rt/ /opt/pkgs/rt/stable/bin/mason_handler.fcgi/
</VirtualHost>
RT_SiteConfig.pm
Set($WebBaseURL , "http://test.uchicago.edu:8080");
Set($WebPath , "");
Set($WebURL , $WebBaseURL . $WebPath . "/");
Set($LogDir, '/opt/pkgs/rt/3.4.5/var/log');
Set($LogToFileNamed , "/tmp/rt.log"); #log to rt.log
Andrew Nicols wrote:
> On 9/20/06, *Yongrui Tang* <ytang at uchicago.edu
> <mailto:ytang at uchicago.edu>> wrote:
>
> Hi,
> httpd.conf
> <VirtualHost *:8080>
> ServerName test.uchicago.edu:8080 <http://test.uchicago.edu:8080>
> DocumentRoot "/opt/http/docs/internal/rt/html/"
> ScriptAlias / /opt/http/docs/internal/rt/bin/mason_handler.fcgi/
> Alias /NoAuth/images /opt/http/docs/internal/rt/html/NoAuth/images
> <Directory "/opt/http/docs/internal/rt/html">
> Options FollowSymLinks ExecCGI
> AllowOverride None
> </Directory>
> </VirtualHost>
>
>
>
> Hi,
>
> I'm not running fastcgi myself, but I the line:
> ScriptAlias / /opt/http/docs/internal/rt/bin/mason_handler.fcgi/
> Looks suspicious - mason_handler.fcgi is a file... not a directory.
> Also, I don't see an AddHandler anywhere in there.
>
>
> I'm running Apache 1.3 with mod_perl 1, but using the debian package
> which has the following in an example configuration file for fcgi:
> -----------------------------
>
> AddHandler fastcgi-script fcgi
> FastCgiIpcDir /var/run/fastcgi
> FastCgiServer /usr/share/request-tracker3.6/libexec/mason_handler.fcgi
>
> ScriptAlias /rt /usr/share/request-tracker3.6/libexec/mason_handler.fcgi
>
> <Location /rt/>
> DirectoryIndex index.html
> </Location>
>
> -----------------------------
>
> Hope that helps,
>
> Andrew
--
Yongrui Tang
University of Chicago
Data Network Operations
ytang at uchicago.edu
1-773-702-5592
More information about the rt-users
mailing list