How to enable/install HTTP/2 on Virtualmin in CentOS7 - apache

I have Virtualmin installed on my CentOS7 server and few websites are currently running on this server. There's no separate Apache installation because it is using Virtualmin. However I need to install / enable HTTP/2 on my server but current resources on the internet are not helpful enough to learn how to do this since I have a Virtualmin installation on which few sites are hosted. How can I do this?

HTTP/2 support was only added with Apache 2.4.17, therefore the only way to make it work on CentOS 7 is to rebuild it manually. OpenSSL version 1.0.2 is already available with CentOS 7 though.
Perhaps the easiest way would be is to upgrade to the distro that already ships needed version of Apache.
I cannot recommend CentOS 8 due to recent events, however Ubuntu 20.04 LTS and Debian 10 are both supported with Virtualmin and have latest versions of Apache. In the future we will support any 1:1 compatible forks/clones of RHEL; recently we fixed RHEL 8 support as well and CentOS 8 Stream is also supported.

Related

How to replace a standard httpd package with httpd24-httpd from Software Collections?

I am setting up a CentOS 7 server as the migration target of my old CentOS 6 server.
With the state of system updates being so slow, I was thinking of using a more reactive or up-to-date repository for Apache httpd. This is out of security concerns (https://httpd.apache.org/security/vulnerabilities_24.html).
I came across SCL months ago but despite hours and hours of documentation reading and web browsing, I haven't yet found a way to have httpd24-http from SCL replace the standard httpd package, in the same way that mariadb packages are a drop-in replacement for mysql packages.
Is it possible to do without httpd from the default repository and instead have httpd24-httpd from SCL and how?
The thing that has me asking this question is that some packages (e.g. phpMyAdmin and roundcubemail) seem to not see the package from SCL and pull in httpd, which gets installed as a dependency.
I am still somehow confused as to whether Apache httpd (2.4.39 atm) from the SCL is a replacement or whether it's supposed to be installed alongside httpd (2.4.6 atm), in which case, I am wondering whether there is much use since both programs will try to bind to port 80 and port 443. I'm surely missing a few key points in understanding the SCL ecosystem, specifically concerning httpd or similar daemons.
EDIT
I finally understood that the SCL version is to be installed alongside the standard httpd. Also, the standard http receives security backports, which answers my initial need.
It should be possible to swap httpd from scl with the standard httpd
I've done the same with php versions.
scl enable httpd24 bash
https://www.softwarecollections.org/en/scls/rhscl/httpd24/
I'm asking myself the same question because I'd like to enable TLS 1.3 for centos 7, but besides the httpd, it will also need a manually installed version of openssl to make that possible at the moment.

Use Apache 2.4 on MAMP PRO 5.x

I need to run Apache 2.4 on MAMP PRO 5.x but the company that makes MAMP issues the following statement:
You can only run the MAMP PRO components with the included Apache 2.2 . We will be upgrading to Apache 2.4 in MAMP PRO 6, which will be available in 2020.
Has anyone figured out a workaround? I need to be using TLS 1.2 and per some other posts I found, i.e. https://apple.stackexchange.com/questions/206901/using-mamp-3-4-how-do-i-upgrade-to-apache-2-4-and-openssl-1-0-2-to-meet-the-ats
They mention:
TLS 1.2 works only with apache 2.4
We are planning on transitioning away from MAMP in favor of homestead or vagrant, but for the current build we would like to figure out a way to use Apache 2.4 (for the sole purposes of using TLS 1.2) without changing our local development environments.
Any help would be appreciated.
Thats just the way it goes when you use a packaged system like MAMP PRO, it is up to them if they want to support Apache 2.4 or not, and it sounds like they will, but just not when it suits you. I also use MAMP 5 and want Apache 2.4, but looks like I will have to suck it up and run my own Apache 2.4 server too.
That said, there might be a way to hack MAMP PRO to work with another local version of Apache, but it would be unlikely you would receive any support from MAMP PRO in trying to get it to work

configure mod_proxy_wstunnel on apache 2.4.x

I want to use mod_proxy_wstunnel on my CentOS machine. So, I went through the documentation and it says that, this module is the part of Apache >= 2.4.5 but, I'm not able to use the Module and mod_proxy_wstunnel.so nowhere exists in my server.
I know, there are lots of related questions but those are all for older version of Apache.
Anyway, I'm using
Apache 2.4.18
CentOS 6.7 (Final)
You need to determine where yourour 2.4.18 build came from, because it's not contemporary / part of Centos 6.
Whoever built or packaged it it needs to perform the routine task if including an additional standard module.

Host Solr 5.3 using tomcat in windows box

Steps to Host Solr 5.3 in Tomcat Server in windows box.
i am able to host Solr 4.7 but there are few files missing in 5.3 so unable to host it.
This is no longer a supported configuration. So, even if it worked, there might be issues later. The strong recommendation is to use the server solution that Solr comes with out of the box.

ColdFusion Installation with Apache web server

I had a good experience configuring ColdFusion applications using IIS Web server but my client is asking me to configure the applications using Apache. I found few links where in I did not get the exact required information. My Question is is there any official path to download the Apache. If yes can any one share the path. How do I go after downloading the Apache web server. Does any one have step by step process to configure the Apache in ColdFusion.
By the way I am using ColdFusion 11 enterprise edition. We had multiple instances related to this ColdFusion 11. I had a option to select Apache when going to WSConfig file. But I am not exactly sure if I need to download the software before doing this process.
As per the ColdFusion 11 Support Matrix, Apache 2.2.26 and 2.4 are supported. You can download Apache 2.4 from here.
You can refer to this document, for how to install, configure and run Apache 2.4 under Microsoft Windows.
And lastly, you can refer to ColdFusion 11 Installation guide for installing and configuring CF11 with Apache.