Project

General

Profile

Actions

Defect #155

closed

public/.htaccess lacks support for mod_fcgid and adds handlers without checking for their existance

Added by Nils Adermann over 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

mod_fcgid is an improved version of mod_fastcgi. It allows the use of "DefaultInitEnv RAILS_ENV production"
in the apache config.

If you try to run redmine with apache and mod_fcgid it will send public/dispatch.fcgi as "text/plain" because
the public/.htaccess connects the .fcgi extension with the "fastcgi-script" handler while fcgid uses
"fcgid-script". Those AddHandler declarations should be inside <IfModule> blocks for the relevant apache
module.


Files

if_module.patch (1.09 KB) if_module.patch Nils Adermann, 2008-02-03 10:53
htaccess_if_module.patch (628 Bytes) htaccess_if_module.patch Stephan Dale, 2009-02-22 00:01
Actions

Also available in: Atom PDF