cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Add multiple apache Listen directives into global httpd.conf from SSL Host Manager

David Yoder shared this idea 8 years ago
Open Discussion

My server hosts several domains with separate IPs as VirtualHosts--some with SSL and some without. I currently need to manually maintain separate "Listen <ip:443>" directives in pre_main_global.conf with the TweakSettings set to 127.0.0.1:443 (instead of 0.0.0.0:443) in order to shutdown a global listen directive for all IPs. I would like an include file for httpd.conf that has an automatically generated list of IPs from the SSL hosts management and add these Listen directives there. The current behavior is broken out of the box for me--port 443 listens but serves plain http (non-SSL) for domains that aren't supposed to have SSL enabled.

Comments (1)

photo
1

This should also allow for a user defined IP address pool to be used by Cpanel. In my case I need to exclude at least one IP address for use with a third-party proxy that listens on port 80.

Leave a Comment
 
Attach a file