LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Debian 4.0 - Request-Tracker3.4 + Apache2 + FastCGI (https://www.linuxquestions.org/questions/linux-software-2/debian-4-0-request-tracker3-4-apache2-fastcgi-745016/)

MR835 08-04-2009 08:09 AM

Debian 4.0 - Request-Tracker3.4 + Apache2 + FastCGI
 
Hi all,
As the title suggests I'm trying to implement a RT3.4 installation using FastCGI. I've opted for 3.4 as this is on a test server mimicking a currently live server which is running RT with mod_perl. I'm going for a FastCGI implementation as I want to run two instances of RT at once.

I have managed to get to the stage where I can log into RT and display the initial index page, but once I click on any of the links I am shown just raw html that hasn't been parsed and rendered.
If I copy these .html into the VirtualHost document root then they will display fine.
This makes me think there is a problem with descending into the DocumentRoot sub-directories. Not that is is a permissions issue as it can clearly access the files there, but there is something not working with sending these files onto mason_handler.fcgi

Here's the Apache2 RT file used for defining the specific server settings and VirtualHost info:
Code:

FastCgiServer /var/www/rt/mason_handler.fcgi -idle-timeout 120 -user rt -group rt -processes 4

<VirtualHost rt.x.x.x:80>
  DocumentRoot /usr/share/request-tracker3.4/html/

  SuexecUserGroup rt rt

  ReWriteEngine On
  ReWriteRule ^/rt$ /rt/
  ReWriteRule ^/rt/(.*)$ /usr/share/request-tracker3.4/html/$1

  Alias /NoAuth/images /usr/share/request-tracker3.4/NoAuth/images

  AddHandler fastcgi-script fcgi
  ScriptAlias / /var/www/rt/mason_handler.fcgi/

  ErrorLog /var/log/apache2/rt.error.log
  CustomLog /var/log/apache2/rt.access.log combined env=rt

  <Location /NoAuth/images >
      SetHandler default-handler
  </Location>
   
#  <Directory "/var/www/rt/">
#      AllowOverride None
#      Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
#      Order allow,deny
#      Allow from all
#  </Directory>
</VirtualHost>

I reckon it must have something to do with the ScriptAlias part or mason_handler.fcgi, but FastCGI and using suexec is all totally new to me and I haven't a clue where to start looking!

Any help would be much appreciated!


All times are GMT -5. The time now is 11:00 AM.