Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 18th November 2005, 03:58
benbalbo benbalbo is offline
Join Date: Oct 2005
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts
Default Multiple IPs running SSL: config error

I just had problems getting a new certificate to work, and noticed that the Vhosts_ispconfig.conf had:

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:
        $mod->tpl->assign( array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$web_port));
        $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 :-)

Reply With Quote
Sponsored Links
Old 18th November 2005, 04:18
benbalbo benbalbo is offline
Join Date: Oct 2005
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts

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:
[warn] VirtualHost overlaps with VirtualHost, the first has precedence, perhaps you need a NameVirtualHost directive
grepping the whole /etc/apache2 directory and below for VirtualHost shows there is only one definition for each IP on port 443, so I'm not sure why the warning says there are two. However, it's only a warning and the sites work, so I'm not too fussed right now.
Reply With Quote
Old 18th November 2005, 12:34
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Can you post your Vhosts_ispconfig.conf?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
webalizer cron msg annoyance domino Server Operation 3 23rd September 2006 17:35
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
Domain added multiple times to config adamluz Installation/Configuration 3 11th October 2005 22:52
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53
ERROR While upgrading to 2.0.8 adamluz Installation/Configuration 2 29th August 2005 22:30

All times are GMT +2. The time now is 20:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.