Thread: WHM & Apache
View Single Post
Old March 15th, 2006, 10:01 PM   #4 (permalink)
mr_fern
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
Well I went over the file, but most of the functionality is encapsulated in functions defined elsewhere. But the file did help some. I was reminded that WHM starts the service with the "-DSSL" option.

The directive in Apache is written as
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

So that was the problem. It was causing it to try to listen to Port 80 for all IPs, and one's already in use, causing the issue. When I was using apachectl I didn't have SSL defined, that's why it worked fine with apachectl and not WHM's restart.

I just have to change that Define, replace Listen 80 with Listen [ip]:80 for all the ips available to Apache.
__________________
Nobody doing nothing
mr_fern is offline   Reply With Quote