Skip to content

Commit 10b13b8

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5
2 parents 1af70cf + 7b699b6 commit 10b13b8

File tree

11 files changed

+19
-16
lines changed

11 files changed

+19
-16
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ public function configure_apache()
652652

653653
$content = rf('/etc/apache2/httpd.conf');
654654
if(!stristr($content, 'Include /etc/apache2/sites-enabled/')) {
655-
af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n");
655+
af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options +FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n");
656656
}
657657
unset($content);
658658

install/dist/tpl/gentoo/apache_apps.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
DocumentRoot {apps_vhost_dir}
1616
SuexecUserGroup ispapps ispapps
1717
<Directory {apps_vhost_dir}>
18-
Options Indexes FollowSymLinks MultiViews +ExecCGI
18+
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
1919
AllowOverride AuthConfig Indexes Limit Options FileInfo
2020
<FilesMatch "\.ph(p[3-5]?|tml)$">
2121
SetHandler fcgid-script
@@ -31,7 +31,7 @@
3131
DocumentRoot {apps_vhost_dir}
3232
AddType application/x-httpd-php .php
3333
<Directory {apps_vhost_dir}>
34-
Options FollowSymLinks
34+
Options +FollowSymLinks
3535
AllowOverride None
3636
Order allow,deny
3737
Allow from all

install/dist/tpl/gentoo/apache_ispconfig.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ NameVirtualHost *:{vhost_port}
1414
DocumentRoot /var/www/ispconfig/
1515
SuexecUserGroup ispconfig ispconfig
1616
<Directory /var/www/ispconfig/>
17-
Options Indexes FollowSymLinks MultiViews +ExecCGI
17+
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
1818
AllowOverride AuthConfig Indexes Limit Options FileInfo
1919
<FilesMatch "\.ph(p[3-5]?|tml)$">
2020
SetHandler fcgid-script
@@ -30,7 +30,7 @@ NameVirtualHost *:{vhost_port}
3030
DocumentRoot /usr/local/ispconfig/interface/web/
3131
AddType application/x-httpd-php .php
3232
<Directory /usr/local/ispconfig/interface/web>
33-
Options FollowSymLinks
33+
Options +FollowSymLinks
3434
AllowOverride None
3535
Order allow,deny
3636
Allow from all
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ALTER TABLE `dbispconfig`.`web_domain` ADD UNIQUE `serverdomain` ( `server_id` , `domain` );
2-
DROP INDEX rr ON dns_rr;
3-
ALTER TABLE `dns_rr` CHANGE `name` `name` VARCHAR( 128 ) NOT NULL ;
4-
CREATE INDEX `rr` ON dns_rr (`zone`,`type`,`name`);
2+
3+
ALTER TABLE `dns_rr` DROP KEY rr,
4+
CHANGE `name` `name` VARCHAR( 128 ) NOT NULL,
5+
ADD KEY `rr` (`zone`,`type`,`name`);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `cron` ADD `log` enum('n','y') NOT NULL default 'n' AFTER `run_wday`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ CREATE TABLE `cron` (
402402
`run_mday` varchar(100) NULL,
403403
`run_month` varchar(100) NULL,
404404
`run_wday` varchar(100) NULL,
405+
`log` enum('n','y') NOT NULL default 'n',
405406
`active` enum('n','y') NOT NULL default 'y',
406407
PRIMARY KEY (`id`)
407408
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

install/tpl/apache_apps.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
AddType application/x-httpd-php .php
2121
<Directory {apps_vhost_dir}>
2222
# php_admin_value open_basedir "{apps_vhost_dir}:/usr/share:/tmp"
23-
Options FollowSymLinks
23+
Options +FollowSymLinks
2424
AllowOverride None
2525
Order allow,deny
2626
Allow from all
@@ -31,7 +31,7 @@
3131
DocumentRoot {apps_vhost_dir}
3232
SuexecUserGroup ispapps ispapps
3333
<Directory {apps_vhost_dir}>
34-
Options Indexes FollowSymLinks MultiViews +ExecCGI
34+
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
3535
AllowOverride AuthConfig Indexes Limit Options FileInfo
3636
AddHandler fcgid-script .php
3737
FCGIWrapper {website_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php

install/tpl/apache_ispconfig.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NameVirtualHost *:{vhost_port}
1818
DocumentRoot /var/www/ispconfig/
1919
SuexecUserGroup ispconfig ispconfig
2020
<Directory /var/www/ispconfig/>
21-
Options -Indexes FollowSymLinks MultiViews +ExecCGI
21+
Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
2222
AllowOverride AuthConfig Indexes Limit Options FileInfo
2323
AddHandler fcgid-script .php
2424
FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
@@ -35,7 +35,7 @@ NameVirtualHost *:{vhost_port}
3535
AddType application/x-httpd-php .php
3636
<Directory /usr/local/ispconfig/interface/web>
3737
# php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
38-
Options FollowSymLinks
38+
Options +FollowSymLinks
3939
AllowOverride None
4040
Order allow,deny
4141
Allow from all

interface/lib/classes/remoting.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ public function server_get($session_id, $server_id = null, $section ='') {
150150
return false;
151151
}
152152
if (!empty($session_id)) {
153+
$app->uses('remoting_lib , getconf');
153154
if(!empty($server_id)) {
154-
$app->uses('remoting_lib , getconf');
155155
$section_config = $app->getconf->get_server_config($server_id, $section);
156156
return $section_config;
157157
} else {

server/conf/apache_apps.vhost.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
DocumentRoot {tmpl_var name='apps_vhost_dir'}
3535
SuexecUserGroup ispapps ispapps
3636
<Directory {tmpl_var name='apps_vhost_dir'}>
37-
Options Indexes FollowSymLinks MultiViews +ExecCGI
37+
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
3838
AllowOverride AuthConfig Indexes Limit Options FileInfo
3939
AddHandler fcgid-script .php
4040
FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php

0 commit comments

Comments
 (0)