LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-04-2009, 08:09 AM   #1
MR835
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:
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!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:23 PM.

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