Skip to content

Question about ServerName and ServerAdmin in httpd? #11

@odunybrad

Description

@odunybrad

Thanks for providing the container!

I am doing a research aiming at finding issues in configuration files. After pulling the image we notice that ServerName is set to localhost in /etc/apache2/apache2.conf and ServerAdmin is set to webmaster@localhost in /etc/apache2/sites-enabled/000-default.conf.

However, the HttpD official document recommends the following config:

  • ServerName : "For optimal reliability and predictability, you should specify an explicit hostname and port using the ServerName directive."
  • ServerAdmin: "However, it's recommended to actually use an email address, since there are a lot of CGI scripts that make that assumption. "

Could you please provide a knob to specify the value of ServerName and ServerAdmin to identify yourself?

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