HTTP/2
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: December 20, 2022 04:14PM

any idea if HTTP/2 will be supported in future releases?
or if its possible to manually enable HTTP/2 in wamp 3.3?

Options: ReplyQuote
Re: HTTP/2
Posted by: Otomatic (Moderator)
Date: December 20, 2022 04:34PM

http2 is supported since Apache 2.4.18 but can only be activated in https mode.

See mod http2

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.0 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 12/20/2022 06:01PM by Otomatic.

Options: ReplyQuote
Re: HTTP/2
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: December 20, 2022 04:55PM

i enabled the http2 module and it says
djswebserver.dynet.com
HTTP/2 not supported. It appears that this server is running Apache. Fortunately, the recent versions of Apache come with HTTP/2 support.
so im a bit confused after enabling the module it still says no support?
my site has a ssl cert on it and is accessible on both port 80 and 443

Options: ReplyQuote
Re: HTTP/2
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: December 20, 2022 05:09PM

heres my conf file
[file.io]

Options: ReplyQuote
Re: HTTP/2
Posted by: Otomatic (Moderator)
Date: December 20, 2022 06:14PM

Your link 'https://file.io/dI7bjpSNGTIm' is considered phishing with :
Secure Connection Failed

Did you read the link given earlier on mod_http2

It is not enough to load the module, you must also allow the http2 protocol

Protocols h2 h2c http/1.1

It works fine on my Wampserver 3.3.0 with Apache 2.4.54.2 :
[20/Dec/2022:18:01:02 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET / HTTP/2.0" 5511
[20/Dec/2022:18:11:01 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET / HTTP/2.0" 5511
[20/Dec/2022:18:11:06 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET /modifications.php HTTP/2.0" 5444
[20/Dec/2022:18:11:06 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET /css/modifs.css HTTP/2.0" 425
[20/Dec/2022:18:11:07 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET /images/oto_up.gif HTTP/2.0" 102
[20/Dec/2022:18:11:10 +0100] ::1 TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 "GET /index.php HTTP/2.0" 5511

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.0 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: HTTP/2
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: January 01, 2023 04:54PM

Header Status: HTTP/1.1 200 OK
Date: Sun, 01 Jan 2023 15:52:47 GMT
Server: Apache
Upgrade: h2
Connection: Upgrade
Cache-Control: max-age=600
Expires: Sun, 01 Jan 2023 16:02:47 GMT
Content-Length: 4678
Content-Type: text/html; charset=UTF-8

did i enable http2 correctly?

Options: ReplyQuote
Re: HTTP/2
Posted by: Otomatic (Moderator)
Date: January 01, 2023 06:00PM

You must allow http2 in the Protocols directive, for example in the httpd-ssl.conf file for example
#
# This is the Apache server configuration file providing SSL support.
# When we also provide SSL we have to listen to the
# standard HTTP port and to the HTTPS port
#
Listen 0.0.0.0:443 https
Listen [::0]:443 https

# Where the certificates are
Define CERTIFS ${INSTALL_DIR}/bin/Certs

Protocols h2 h2c http/1.1
<IfModule mod_headers.c>
  Header always set Strict-Transport-Security "max-age=31536000; preload"
</IfModule>
SSLSessionCache shmcb:${INSTALL_DIR}/tmp/ssl_gcache_data(512000)
SSLOptions +StrictRequire +StdEnvVars -ExportCertData
# SSL Protocol support:
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLCompression Off
SSLHonorCipherOrder On
# SSL Cipher Suite:
SSLCipherSuite SSL ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384
# Encryptions TLSv1.3
SSLCipherSuite TLSv1.3 TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384
SSLOpenSSLConfCmd ECDHParameters secp521r1
SSLOpenSSLConfCmd Curves sect571r1:sect571k1:secp521r1:sect409k1:sect409r1:secp384r1

##
## SSL Virtual Host Context
Define SERVERNAMEVHOSTSSL aviatechno
Define DOCUMENTROOTVHOSTSSL G:/www/aviatechno
Define ADMINVHOSTSSL webmaster@aviatechno.net
<VirtualHost *:443>
	ServerName ${SERVERNAMEVHOSTSSL}
  DocumentRoot "${DOCUMENTROOTVHOSTSSL}"
  ServerAdmin ${ADMINVHOSTSSL}
	SSLEngine on
	SSLCertificateFile      "${CERTIFS}/Site/${SERVERNAMEVHOSTSSL}.crt"
	SSLCertificateKeyFile   "${CERTIFS}/Site/${SERVERNAMEVHOSTSSL}.key"
	<Directory "${DOCUMENTROOTVHOSTSSL}/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride all
		Require local
	</Directory>
	CustomLog "${INSTALL_DIR}/logs/custom.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

# End of SSL Virtual Host Context - To be repeated for another SSL VirtualHost

See Directive Protocols

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.0…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.0 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.