Project

General

Profile

Error 500 when using mod_cgi to complement mod_fastcgi

Added by Oskar Nordquist over 15 years ago

Hello

I have redmine installed in apache2 using mod_fastcgi, and everything works flawlessly. Now, I have a specialized cgi-script I'd like to install so I tried to enable mod_cgi as well. This resulted in a 500 server error while accessing Redmine (dispatch.fcgi). Any idea how to solve this, or mod_cgi and mod_fastgi cannot possibly work together?

Regards

Oskar


Replies (1)

RE: Error 500 when using mod_cgi to complement mod_fastcgi - Added by Oskar Nordquist over 15 years ago

This turned out to be an easy fix. I just modified dispatch.fcgi and surrounded the <IfModule mod_cgi.c>...</IfModule> with an <IfModule !mod_fastcgi.c></IfModule>, i.e. only use mod_cgi if not mod_fastcgi is loaded.

    (1-1/1)