apache2 default conf file contains Listen directive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Debian) |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
The default Apache 2 config file /etc/apache2/
This directive is extraneous and unnecessary: The default configuration includes a VirtualHost that listens on Port 80. SSL configurations listen on Port 443. Removing the global Listen directives does not change this behavior; however if the default site is removed or moved to another port, Apache continues to listen on that port. For example, if Apache listens on Port 80 and you change the default site to listen on port 1080, Apache will listen on Port 80 and Port 1080 due to the Listen directive in ports.conf.
By removing or commenting the Listen directive, Apache will no longer listen on Port 80 if no VirtualHost exists that specifies Port 80. This reduces the number of open ports, and leaves Port 80 open for other applications.
Leaving the Listen directive in ports.conf as-is is not particularly harmful; it does however lead to minor, momentary confusion or excessive open ports when unfamiliar users configure Apache in exotic ways. As it is unnecessary, it should be disabled.
Changed in apache2 (Debian): | |
status: | Unknown → New |
Changed in apache2 (Debian): | |
status: | New → Fix Released |
Importance: Low.
Reason: not really a bug that prevents operation, more rather a bug that addresses minor housekeeping of the default configs.
Requested via IRC, by bluefoxxx. Processed by myself ("TheLordOfTime"): /launchpad. net/bugs/ 1105411
[15:13:33] <bluefoxxx> That should be a very low importance but I can't triage my own bugs.
[15:13:45] <TheLordOfTime> triage requires bugcontrol usually, which bug?
[15:13:53] <bluefoxxx> 1105411
[15:13:58] <TheLordOfTime> LP Bug 1105411
[15:13:59] <ubot2> Launchpad bug 1105411 in apache2 (Ubuntu) "apache2 default conf file contains Listen directive" [Undecided,New] https:/
[15:14:43] <TheLordOfTime> bugs usually need to be confirmed before we triage, but i agree on the low importance
[15:14:47] * TheLordOfTime sets the bug as Low Importance
[15:14:47] <bluefoxxx> It's low priority because it's effectively meaningless housekeeping minimizing the configuration
[15:15:06] <TheLordOfTime> agreed, which is why i set it :)
I'm not marking this as triaged, yet, as I have not confirmed this bug yet. (although a fix for this bug should be exceptionally minor)