Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-04-2009, 08:09 AM   #1
LQ Newbie
Registered: Mar 2004
Location: UK
Distribution: Slackware 9.1
Posts: 3

Rep: Reputation: 0
Unhappy 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:
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
#   <Directory "/var/www/rt/">
#       AllowOverride None
#       Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
#       Order allow,deny
#       Allow from all
#   </Directory>
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FastCGI etrader Linux - Newbie 0 03-28-2009 02:25 PM
Setup Apache2 with PHP FastCGI jlukensow Linux - Server 1 01-29-2008 04:30 PM
create a new certificate request SSL Debian Linux xxsubz78x Debian 8 12-09-2007 05:22 PM
How2 let apache2 forward the request to another web-server on another machine boomy Linux - Software 9 12-04-2005 03:50 PM
SSL + Apache2 = Invalid Method in Request TruckStuff Linux - Networking 5 08-29-2004 03:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration