mod_fcgid unfortunately allows the FcgidWrapper directive to be
overridden in htaccess when AllowOverride FileInfo is declared.  In
all likelihood some users need that (the feature was contributed and
added in mod_fcgid 2.1, it is especially handy to tweak PHP settings),
but definitely some admins do not want them to use it.

There's no obvious AllowOverride control for this directive, and
there's the legacy compatibility concern too.  Given this, the best
way to solve the problem AFAIK is to detect htaccess mode and consult
a per-server setting to see if the directive should be allowed.
BETTER SUGGESTIONS?

The best way to detect htaccess mode that I know of is to maintain a
flag in pre-config and post-config hooks which indicate whether we're
processing the main config; if we're not processing the main config
then assume we're processing htaccess.  BETTER SUGGESTIONS?

Reply via email to