I just had problems getting a new certificate to work, and noticed that the Vhosts_ispconfig.conf had:
Code:
NameVirtualHost 192.168.0.50:80
NameVirtualHost 192.168.0.51:80
NameVirtualHost 192.168.0.52:80
But the SSL port (443) had no NameVirtualHost entries.
I 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));
to:
Code:
$mod->tpl->assign( array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$web_port),
array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$ssl_port));
But this hasn't solved the problem.
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
Recent comments
12 hours 5 min ago
17 hours 3 min ago
18 hours 30 min ago
19 hours 23 min ago
21 hours 6 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 17 hours ago
1 day 19 hours ago