Bug 55460

Summary: allow service names to be used in the Listen directive
Product: Apache httpd-2 Reporter: Christoph Anton Mitterer <calestyo>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Christoph Anton Mitterer 2013-08-21 00:22:24 UTC
Hi.

It would be nice if you'd allow service names (i.e. from /etc/services, respectively the getent syscalls) to be used in the Listen directive to specify the port.

E.g.
Listen 0.0.0.0:https
Listen 0.0.0.0:http-alt

That way, when one changes the port, all one needs to do change it in one place (/etc/services) and then restarting apache/iptables is enough if properly configured.


Cheers,
Chris.