I tried to install apache-2.4.23 which supports http2 in CentOS7 x64 server. But no rpm repo has supported it yet, so I built from source and installed and was installed to /usr/local/apache2. But since, I am using virtualmin5.0.4 I need it to be compatible with it. So, how could I install it in the locations as it would install if installed from repo such as EPEL.
I would try getting the source RPM from Fedora and doing rpmbuild --rebuild apache.src.rpm
. Then you can update the RPMs you have and not have a hybrid of RPM-based installs and hand-installed files. Other RPMs will then know you have it installed as well as being in the default locations.