Skip to content

suEXEC user mismatch #234

Description

@dchmayer

When trying to execute a cgi-file, suexec throws an error, because the apache process is running as user "www-data", whilst the flag "AP_HTTPD_USER" is set to "www" by default.

[2023-05-22 18:21:45]: user mismatch (www-data instead of www)

output of "suexec -V":
-D AP_DOC_ROOT="/usr/local/apache2/htdocs"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www"
-D AP_LOG_EXEC="/usr/local/apache2/logs/suexec_log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"

Is it possible to replace suEXEC "AP_HTTPD_USER" default value to container default httpd user in order to make it functional by default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions