![]() |
Multiple IPs running SSL: config error
I just had problems getting a new certificate to work, and noticed that the Vhosts_ispconfig.conf had:
Code:
NameVirtualHost 192.168.0.50:80I greped the source to find any occurances of NameVirtualHost and only found it in one place. I've tried to fix this by changing /root/ispconfig/scripts/lib/config.lib.php at line 1230 from: Code:
$mod->tpl->assign( array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$web_port));Code:
$mod->tpl->assign( array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$web_port),I'm going to delve into the template class now to see if I can see how it works and what I need to do to fix this issue. Any tips, pointers, advice, existing patches would be very welcome :-) Thanks! BB |
Well I'm not sure what happened, but after restarting apache manually without the NameVirtualHost 443 in the conf file, the certs still work properly.
I'm still confused however about the error message: Code:
[warn] VirtualHost 192.168.0.51:443 overlaps with VirtualHost 192.168.0.51:443, the first has precedence, perhaps you need a NameVirtualHost directive |
Can you post your Vhosts_ispconfig.conf?
|
| All times are GMT +2. The time now is 09:52. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.