Bug 53988 - Missing FCGIWrapper script should not be a critical error
Summary: Missing FCGIWrapper script should not be a critical error
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_fcgid (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2012-10-10 05:57 UTC by unixmonkey
Modified: 2015-02-11 14:25 UTC (History)
2 users (show)


Note You need to log in before you can comment on or make changes to this bug.
Description unixmonkey 2012-10-10 05:57:54 UTC
In a shared server environment that uses SuexecUserGroup, FCGIWrapper has to be owned by the user. If the user accidentally or intentionally deletes FCGIWrapper file, this would prevent Apache from starting up.

Missing FCGIWrapper should not be a critical error. Instead it should be logged as an error during Apache startup

One potential fix could be use yet another flag in FcgidWrapper Directive and if this flag exists, don't check for the existence of FcgidWrapper

Another, much simpler one would be to use 

ap_log_perror(APLOG_MARK, APLOG_STARTUP|APLOG_ERR, apr_get_os_error(), cmd->pool, "mod_fcgid: Wrapper does not exist at %s", path);

instead of

return missing_file_msg(cmd->pool, "Wrapper", path, rv);