Skip to content

Commit 0d61c24

Browse files
author
Marius Burkard
committed
Revert "Merge branch 'http2-always' into 'stable-3.1'"
This reverts merge request !1033
1 parent 9fce5ae commit 0d61c24

File tree

64 files changed

+172
-41
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+172
-41
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,5 @@ ALTER TABLE `mail_user` ADD `disableindexer-worker` ENUM('n','y') CHARACTER SET
3636
-- add SSHFP and DNAME record
3737
ALTER TABLE `dns_rr` CHANGE `type` `type` ENUM('A','AAAA','ALIAS','CNAME','DNAME','CAA','DS','HINFO','LOC','MX','NAPTR','NS','PTR','RP','SRV','SSHFP','TXT','TLSA','DNSKEY') NULL DEFAULT NULL AFTER `name`;
3838

39-
-- remove SPDY option
40-
ALTER TABLE `web_domain` DROP COLUMN `enable_spdy`;
41-
4239
-- was missing in incremental, inserted for fixing older installations
43-
ALTER TABLE `web_domain` ADD `folder_directive_snippets` TEXT NULL AFTER `https_port`;
40+
ALTER TABLE `web_domain` ADD `folder_directive_snippets` TEXT NULL AFTER `https_port`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,7 @@ CREATE TABLE `web_domain` (
20702070
`traffic_quota_lock` enum('n','y') NOT NULL default 'n',
20712071
`fastcgi_php_version` varchar(255) DEFAULT NULL,
20722072
`proxy_directives` mediumtext,
2073+
`enable_spdy` ENUM('y','n') NULL DEFAULT 'n',
20732074
`last_quota_notification` date NULL default NULL,
20742075
`rewrite_rules` mediumtext,
20752076
`added_date` date NULL DEFAULT NULL,

install/tpl/apache_apps.vhost.master

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@
1010
<VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}>
1111
ServerAdmin webmaster@localhost
1212
{tmpl_var name='apps_vhost_servername'}
13-
13+
1414
<FilesMatch "\.ph(p3?|tml)$">
1515
SetHandler None
1616
</FilesMatch>
17-
17+
1818
<IfModule mod_headers.c>
1919
RequestHeader unset Proxy early
2020
</IfModule>
21+
22+
{tmpl_if name="enable_spdy" op="==" value="y"}
23+
<IfModule spdy_module>
24+
SpdyEnabled on
25+
</IfModule>
26+
{/tmpl_if}
2127

2228
<IfModule mod_php5.c>
2329
DocumentRoot {tmpl_var name='apps_vhost_dir'}
@@ -33,7 +39,7 @@
3339
</tmpl_if>
3440
</Directory>
3541
</IfModule>
36-
42+
3743
<IfModule mod_php7.c>
3844
DocumentRoot {tmpl_var name='apps_vhost_dir'}
3945
AddType application/x-httpd-php .php
@@ -48,7 +54,7 @@
4854
</tmpl_if>
4955
</Directory>
5056
</IfModule>
51-
57+
5258
<IfModule mod_fcgid.c>
5359
DocumentRoot {tmpl_var name='apps_vhost_dir'}
5460
SuexecUserGroup ispapps ispapps
@@ -81,3 +87,5 @@
8187

8288

8389
</VirtualHost>
90+
91+

install/tpl/server.ini.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ php_ini_path_apache=/etc/php5/apache2/php.ini
9494
php_ini_path_cgi=/etc/php5/cgi/php.ini
9595
check_apache_config=y
9696
enable_sni=y
97+
enable_spdy=n
9798
skip_le_check=n
9899
enable_ip_wildcard=y
99100
overtraffic_notify_admin=y

interface/web/admin/form/server_config.tform.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,15 @@
13171317
'width' => '40',
13181318
'maxlength' => '255'
13191319
),
1320+
'enable_spdy' => array (
1321+
'datatype' => 'VARCHAR',
1322+
'formtype' => 'CHECKBOX',
1323+
'default' => 'y',
1324+
'value' => array (
1325+
0 => 'n',
1326+
1 => 'y'
1327+
)
1328+
),
13201329
'apps_vhost_enabled' => array (
13211330
'datatype' => 'VARCHAR',
13221331
'formtype' => 'CHECKBOX',

interface/web/admin/lib/lang/ar_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ $wb['dkim_strength_txt'] = 'DKIM strength';
274274
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
275275
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
276276
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
277+
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
277278
$wb['web_settings_txt'] = 'Web Server';
278279
$wb['xmpp_server_txt'] = 'XMPP Server';
279280
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/bg_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ $wb['dkim_strength_txt'] = 'DKIM strength';
274274
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
275275
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
276276
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
277+
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
277278
$wb['web_settings_txt'] = 'Web Server';
278279
$wb['xmpp_server_txt'] = 'XMPP Server';
279280
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/br_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ $wb['network_filesystem_txt'] = 'Sistema de arquivos de rede';
277277
$wb['php_ini_check_minutes_txt'] = 'Verificar alterações no php.ini a cada X minutos';
278278
$wb['php_ini_check_minutes_error_empty'] = 'Por favor, insira um valor para verificação de alterações no php.ini.';
279279
$wb['php_ini_check_minutes_info_txt'] = '0 = sem verificações';
280+
$wb['enable_spdy_txt'] = 'Tornar SPDY/HTTP2 disponível';
280281
$wb['web_settings_txt'] = 'Servidor web';
281282
$wb['xmpp_server_txt'] = 'Servidor xmpp';
282283
$wb['xmpp_use_ipv6_txt'] = 'Usar IPv6';

interface/web/admin/lib/lang/ca_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ $wb['network_filesystem_txt'] = 'Network Filesystem';
272272
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
273273
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
274274
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
275+
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
275276
$wb['web_settings_txt'] = 'Web Server';
276277
$wb['xmpp_server_txt'] = 'XMPP Server';
277278
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/cz_server_config.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ $wb['disabled_txt'] = 'Vypnuto';
269269
$wb['php_ini_check_minutes_txt'] = 'Provádět kontrolu změny obsahu souboru php.ini každých X minut';
270270
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
271271
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
272+
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
272273
$wb['web_settings_txt'] = 'Web Server';
273274
$wb['xmpp_server_txt'] = 'XMPP Server';
274275
$wb['xmpp_use_ipv6_txt'] = 'Použít IPv6';

0 commit comments

Comments
 (0)