diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php index a4782d72d9f970758e55b6093b1269a7b4ae8758..657c795513793b5ae79399ff75ea925b9ebd97a2 100644 --- a/install/dist/lib/opensuse.lib.php +++ b/install/dist/lib/opensuse.lib.php @@ -652,7 +652,7 @@ class installer_dist extends installer_base { $content = rf('/etc/apache2/httpd.conf'); if(!stristr($content, 'Include /etc/apache2/sites-enabled/')) { - af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n"); + af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options +FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n"); } unset($content); diff --git a/install/dist/tpl/gentoo/apache_apps.vhost.master b/install/dist/tpl/gentoo/apache_apps.vhost.master index aa90a73afa3442bbbb2f46885bc6c6188224b13b..ac29f81bb3ba72fbc1e06d075e5c039151e5635a 100644 --- a/install/dist/tpl/gentoo/apache_apps.vhost.master +++ b/install/dist/tpl/gentoo/apache_apps.vhost.master @@ -15,7 +15,7 @@ DocumentRoot {apps_vhost_dir} SuexecUserGroup ispapps ispapps <Directory {apps_vhost_dir}> - Options Indexes FollowSymLinks MultiViews +ExecCGI + Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo <FilesMatch "\.ph(p[3-5]?|tml)$"> SetHandler fcgid-script @@ -31,7 +31,7 @@ DocumentRoot {apps_vhost_dir} AddType application/x-httpd-php .php <Directory {apps_vhost_dir}> - Options FollowSymLinks + Options +FollowSymLinks AllowOverride None Order allow,deny Allow from all diff --git a/install/dist/tpl/gentoo/apache_ispconfig.vhost.master b/install/dist/tpl/gentoo/apache_ispconfig.vhost.master index bfd67bb8eaa3c021027936183b751192f3aea3df..f4f08d2bb6e878d742ae023de172f9d664b189b1 100644 --- a/install/dist/tpl/gentoo/apache_ispconfig.vhost.master +++ b/install/dist/tpl/gentoo/apache_ispconfig.vhost.master @@ -14,7 +14,7 @@ NameVirtualHost *:{vhost_port} DocumentRoot /var/www/ispconfig/ SuexecUserGroup ispconfig ispconfig <Directory /var/www/ispconfig/> - Options Indexes FollowSymLinks MultiViews +ExecCGI + Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo <FilesMatch "\.ph(p[3-5]?|tml)$"> SetHandler fcgid-script @@ -30,7 +30,7 @@ NameVirtualHost *:{vhost_port} DocumentRoot /usr/local/ispconfig/interface/web/ AddType application/x-httpd-php .php <Directory /usr/local/ispconfig/interface/web> - Options FollowSymLinks + Options +FollowSymLinks AllowOverride None Order allow,deny Allow from all diff --git a/install/sql/incremental/upd_0068.sql b/install/sql/incremental/upd_0068.sql index e7a00181127bf1d992981d7e9ff664253bbb851b..ab6425b0b53b42988caba2716742365d4009ea01 100644 --- a/install/sql/incremental/upd_0068.sql +++ b/install/sql/incremental/upd_0068.sql @@ -1,4 +1,5 @@ ALTER TABLE `dbispconfig`.`web_domain` ADD UNIQUE `serverdomain` ( `server_id` , `domain` ); -DROP INDEX rr ON dns_rr; -ALTER TABLE `dns_rr` CHANGE `name` `name` VARCHAR( 128 ) NOT NULL ; -CREATE INDEX `rr` ON dns_rr (`zone`,`type`,`name`); \ No newline at end of file + +ALTER TABLE `dns_rr` DROP KEY rr, + CHANGE `name` `name` VARCHAR( 128 ) NOT NULL, + ADD KEY `rr` (`zone`,`type`,`name`); diff --git a/install/sql/incremental/upd_0069.sql b/install/sql/incremental/upd_0069.sql new file mode 100644 index 0000000000000000000000000000000000000000..44b20e9e34552db8c546602af0022b2772abaf2b --- /dev/null +++ b/install/sql/incremental/upd_0069.sql @@ -0,0 +1 @@ +ALTER TABLE `cron` ADD `log` enum('n','y') NOT NULL default 'n' AFTER `run_wday`; diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql index a6fec746d4b4dc6e01fa42505050cac587d3fd64..55f4ed41029a8d70d1483e3d9d499df6ad522317 100644 --- a/install/sql/ispconfig3.sql +++ b/install/sql/ispconfig3.sql @@ -402,6 +402,7 @@ CREATE TABLE `cron` ( `run_mday` varchar(100) NULL, `run_month` varchar(100) NULL, `run_wday` varchar(100) NULL, + `log` enum('n','y') NOT NULL default 'n', `active` enum('n','y') NOT NULL default 'y', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; diff --git a/install/tpl/apache_apps.vhost.master b/install/tpl/apache_apps.vhost.master index cfedb9eb280158c8c6db9a820319b26f8a28b387..d132b503ffbd2b5bb2471803a86c338f9ef7eb88 100644 --- a/install/tpl/apache_apps.vhost.master +++ b/install/tpl/apache_apps.vhost.master @@ -20,7 +20,7 @@ AddType application/x-httpd-php .php <Directory {apps_vhost_dir}> # php_admin_value open_basedir "{apps_vhost_dir}:/usr/share:/tmp" - Options FollowSymLinks + Options +FollowSymLinks AllowOverride None Order allow,deny Allow from all @@ -31,7 +31,7 @@ DocumentRoot {apps_vhost_dir} SuexecUserGroup ispapps ispapps <Directory {apps_vhost_dir}> - Options Indexes FollowSymLinks MultiViews +ExecCGI + Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo AddHandler fcgid-script .php FCGIWrapper {website_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php diff --git a/install/tpl/apache_ispconfig.vhost.master b/install/tpl/apache_ispconfig.vhost.master index f3b32c009bb38293f1bc546ee5772afebe5dd767..7067cdaf66be520d6a76640692e11441d93aa4c2 100644 --- a/install/tpl/apache_ispconfig.vhost.master +++ b/install/tpl/apache_ispconfig.vhost.master @@ -18,7 +18,7 @@ NameVirtualHost *:{vhost_port} DocumentRoot /var/www/ispconfig/ SuexecUserGroup ispconfig ispconfig <Directory /var/www/ispconfig/> - Options -Indexes FollowSymLinks MultiViews +ExecCGI + Options -Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo AddHandler fcgid-script .php FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php @@ -35,7 +35,7 @@ NameVirtualHost *:{vhost_port} AddType application/x-httpd-php .php <Directory /usr/local/ispconfig/interface/web> # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp" - Options FollowSymLinks + Options +FollowSymLinks AllowOverride None Order allow,deny Allow from all diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php index af0e9f9790b230d2e1eb0d5505275be49a4fbc23..52d9c608ac81ab2d8d255f0bc9ed601ea23f980f 100644 --- a/interface/lib/classes/remoting.inc.php +++ b/interface/lib/classes/remoting.inc.php @@ -150,8 +150,8 @@ class remoting { return false; } if (!empty($session_id)) { + $app->uses('remoting_lib , getconf'); if(!empty($server_id)) { - $app->uses('remoting_lib , getconf'); $section_config = $app->getconf->get_server_config($server_id, $section); return $section_config; } else { diff --git a/server/conf/apache_apps.vhost.master b/server/conf/apache_apps.vhost.master index 99665df0d64ef43309f7d4ac6ce99b22f57a8ab4..6d6d4e232f3dba62b28f9f6e7f4443b1a85ffb42 100644 --- a/server/conf/apache_apps.vhost.master +++ b/server/conf/apache_apps.vhost.master @@ -34,7 +34,7 @@ DocumentRoot {tmpl_var name='apps_vhost_dir'} SuexecUserGroup ispapps ispapps <Directory {tmpl_var name='apps_vhost_dir'}> - Options Indexes FollowSymLinks MultiViews +ExecCGI + Options +Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo AddHandler fcgid-script .php FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 271d3fd71410729e73bf69954697a6b227a8f1b6..2e90ddeab374b097f4cd1bf21092bb7a3e48b391 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -57,7 +57,7 @@ </IfModule> <Directory {tmpl_var name='web_document_root_www'}> - Options FollowSymLinks + Options +FollowSymLinks AllowOverride <tmpl_var name='allow_override'> <tmpl_if name='apache_version' op='>' value='2.2' format='version'> Require all granted @@ -85,7 +85,7 @@ </tmpl_if> </Directory> <Directory {tmpl_var name='web_document_root'}> - Options FollowSymLinks + Options +FollowSymLinks AllowOverride <tmpl_var name='allow_override'> <tmpl_if name='apache_version' op='>' value='2.2' format='version'> Require all granted