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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
[EMAIL PROTECTED]
1-773-702-5592
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to