Hi Jeff,

On 5/2/11 12:35 PM, Jeff Trawick wrote:
On Mon, May 2, 2011 at 12:25 PM, Duke<duke.li...@gmx.com>  wrote:
Hi Jeff,

On 5/2/11 12:16 PM, Jeff Trawick wrote:
On Mon, May 2, 2011 at 10:56 AM, Duke<duke.li...@gmx.com>    wrote:
Hi all,

Please forgive me if the question was asked before. I have been using
apache
for quite a bit of time (3-4 years) but I am totally new to the group.
Recently I tried to give our Red Hat server's apache FastCGI capability
and
hence I installed mod_fcgid. The module loaded fine, but issues happen
when
I tried to configure it:

<IfModule mod_fcgid.c>
  Alias /fgb2 "/var/www/cgi-bin/gb2"
<Location /fgb2>
    SetHandler   fcgid-script
    Options      ExecCGI
</Location>
  DefaultInitEnv GBROWSE_CONF /etc/gbrowse2
  # these directives prevent idle/busy timeouts and may need to be
  # adjusted up or down
  FcgidMinProcessesPerClass 6
  FcgidIOTimeout   600
  FcgidBusyTimeout 600
</IfModule>

The error is:
$ service httpd start
Starting httpd: Syntax error on line 40 of
/etc/httpd/conf.d/z_gbrowse2.conf:
Invalid command 'FcgidMinProcessesPerClass', perhaps misspelled or
defined
by a module not included in the server configuration
                                                             [FAILED]
mod_fcgid is apparently not loaded, or you have an older version.

If the directive DefaultMinClassProcessCount is recognized but
FcgidMinProcessesPerClass is not, you have a pre-ASF version of
mod_fcgid.

I am sure the module is loaded. Changing to the older (deprecated) directive
names works, so that means I am using the pre-ASF version? Please let me
know how I know that. The infos about the module is:

$ rpm -qi mod_fcgid.x86_64 0:2.2-11.el5
Name        : mod_fcgid                    Relocations: (not relocatable)
Version     : 2.2                               Vendor: Fedora Project
Version 2.2 is pre-ASF, doesn't support new names for those directives.

Thanks for this useful information. I did not know this. Is there anywhere (a page of version history for example) that I can find the infos in details?

Thanks,

D.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to