View Single Post
  #2  
Old 23rd April 2012, 14:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

The problem is that the apache config test functions do not work for ssl certs. ISPConfig is testing already the configuration and does a rollback of the vhost if apache does not restart after a config change. But this rollback is implemented for apache config changes only and not syntax errors in ssl certs, for ssl certs such a implementation is already on our todo list.

Quote:
Is there a way to remove ssl functionality from the clients control panels in order to block this from happening with or without hacking core?
If you created a website as admin for a client, then the client can not enable ssl by itself.

If you like to hide the ssl tab at all for the client, then add:

if($_SESSION['s']['user']['typ'] == 'admin') {

....

}

around the ssl tab definition in the web_domain.tform.php file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 23rd April 2012 at 16:39. Reason: typos
Reply With Quote