tbrehm
2008-06-08 56a2d59605a914d2bc46d235575b021e3d1b0b7e
install/update.php
@@ -134,7 +134,11 @@
if($reconfigure_services_answer == 'yes') {
   //** Configure postfix
   $inst->configure_postfix('dont-create-certs');
   //* Configure postfix
   swriteln('Configuring Jailkit');
   $inst->configure_jailkit();
   //** Configure saslauthd
   swriteln('Configuring SASL');
   $inst->configure_saslauthd();
@@ -174,19 +178,6 @@
//** Configure ISPConfig
swriteln('Updating ISPConfig');
//** We want to check if the server is a module or cgi based php enabled server
//** TODO: Don't always ask for this somehow ?
$fast_cgi = $inst->simple_query('CGI PHP Enabled Server?', array('yes','no'),'no');
if($fast_cgi == 'yes') {
    $alias = $inst->free_query('Script Alias', '/php/');
    $path = $inst->free_query('Script Alias Path', '/path/to/cgi/bin');
    $inst->conf['apache']['vhost_cgi_alias'] = sprintf('ScriptAlias %s %s', $alias, $path);
} else {
    $inst->conf['apache']['vhost_cgi_alias'] = "";
}
//** Customise the port ISPConfig runs on