Skip to content

Commit 1e78057

Browse files
author
florian030
committed
2 parents bc1e70a + 030bb96 commit 1e78057

File tree

18 files changed

+85
-23
lines changed

18 files changed

+85
-23
lines changed

install/dist/lib/opensuse.lib.php

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

678678
$content = rf('/etc/apache2/httpd.conf');
679679
if(!stristr($content, 'Include /etc/apache2/sites-enabled/')) {
680-
af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n");
680+
af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options +FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n");
681681
}
682682
unset($content);
683683

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/web/client/form/domain.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
1 => array ( 'type' => 'UNIQUE',
101101
'errmsg'=> 'domain_error_unique'),
102102
2 => array ( 'type' => 'REGEX',
103-
'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z\-]{2,10}$/',
103+
'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z0-9\-]{2,30}$/',
104104
'errmsg'=> 'domain_error_regex'),
105105
),
106106
'default' => '',

interface/web/sites/form/cron.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@
172172
'valuelimit' => 'list:url,full,chrooted',
173173
'value' => array('url' => 'Url', 'full' => 'Full', 'chrooted' => 'Chrooted')
174174
),
175+
'log' => array (
176+
'datatype' => 'VARCHAR',
177+
'formtype' => 'CHECKBOX',
178+
'default' => 'n',
179+
'value' => array(0 => 'n', 1 => 'y')
180+
),
175181
'active' => array (
176182
'datatype' => 'VARCHAR',
177183
'formtype' => 'CHECKBOX',

0 commit comments

Comments
 (0)