Use Apache 2.4 on MAMP PRO 5.x - apache

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

Related

Mod_spnego.co Apache 2.4 issue

We have an old application running on Apache 2.2 which is using Kerberos for user authentification.
But right now we have to swap to Apache 2.4.
Do you know if there is any mod_spnego.co package for Apache 2.4 that I can use?
I was Googling for a while but I only found something about recompiling the package (but I don't have any C programming skills).
Thank you very much and have a nice day.

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

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.

Moving apache environment from HP-UX to RedHat w/ruby

I have been tasked with moving someone else's site and work from HP-UX to RedHat since our HP-UX system is going away. I have all the components on the RedHat server in place (apache, MySQL, Ruby, passenger) that were on the HP-UX system. I have apache UP on the Redhat system. I have exported the MySQL DB from HP-UX to the RedHat. I have copied all the directories that hold the app from one server to another.
My issue is trying to NOT get the Welcome to Apache screen on my redhat server but my app. I have the site listed in the site-enabled. I have the Include on the httpd.conf file to include all the sites. I have even tried Include /etc/httpd/sites-enabled/* as well as Include /etc/httpd/sites-enabled/. No difference.
I am not sure where else to go to look from old, old HP-UX Apache to the new, just installed RedHat system.
HP-UX 11.31 running Apache 2.2.9
RedHat 7.1 running Apache 2.4.6
What else do you need to know? Where else do I need to look?
Thanks!
Vince
Sorry can't post comment... have you tried to add
Include /etc/httpd/sites-enabled/*.conf
in the httpd.conf?
note the .conf at the end
Apparently there was a lot more required under the hood. One can not just move an older ruby/rails app to a new version. So instead of fighting this battle due to a versioning issue I am just going to close it out for now.
Thanks for all help.

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.

How to install Apache without disturbing the existing instance?

I have the apache 2.2 installed in my RHEL 6.1 and I wanted to try Apache 2.4 before switching to it.
I downloaded the latest version and when I googled around for manual install, I found so many different documents. But I do not know whether my new installation will overwrite my existing apache installation..
I would like to know whether its possible to install Apache on the same maching without disturbing the existing apache service (including no changes to the system configs) ?? If yes, how can I do that?
I would like to install the latest apache with different service (say httpd2) and try it if things are working without any problems (anyway I would stop the other service when I try one).
Any suggestions or help links?
I suggest to look at this: http://developerblog.redhat.com/2014/10/01/using-apache-httpd-2-4-rhel6/
Apache 2.4 is part of Red Hat Software Collections, are Red Hat supported, and are part of the RHEL subscriptions. Look for this in the software collections channel.