Actions
Defect #6676
closed.htaccess assumes to use mod_fcgi if istalled
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-15
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
This code in .htaccess creates a problem when you have mod_fastcgi or such, but running rails under passenger apache module.
<IfModule mod_fastcgi.c> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] </IfModule> <IfModule mod_fcgid.c> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] </IfModule> <IfModule mod_cgi.c> RewriteRule ^(.*)$ dispatch.cgi [QSA,L] </IfModule>
Updated by Holger Just over 14 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
You don't need the .htaccess
file with passenger at all. A common (and recommended) setup is therefore to use the following statement inside your Apache configuration to disable processing of .htaccess
files:
AllowOverride none
Another variant would be to just remove the .htaccess
file completely.
There are just no other ways. You can't really tell whether the installed module is actually used or not.
Actions