Softaculous


Topic : http2 and httpd.conf


Posted By: FreakyChimp on January 31, 2023, 6:35 pm
Hi

I recently upgraded webuzo v2 to v3.

I have apache 2.4.54 installed and I am using MPM event with http/2 enabled.

However upon testing, http/2 does not appear to get enabled. 

So, I added the following to httpd.conf (/usr/local/apps/apache2/etc/httpd.conf) :
LoadModule http2_module modules/mod_http2.so
Protocols h2 h2c http/1.1

After restarting apache http/2 then works.

The problem is though, that the httpd.conf file gets overwritten periodically with the default template, and all changes are reverted/lost.

There is nowhere in the Webuzo contol panel now in v3, to edit httpd.conf either.  Is there a reason for this ?

/var/softaculous/apps/apache2/3/httpd.conf
I additionally edited this to match /usr/local/apps/apache2/etc/httpd.conf
This did solve the problem, i thought, but again eventually the default httpd.conf template overwrites and changes are lost.

Any suggestions how to get this working ?

Thanks in advance.


Posted By: FreakyChimp on February 1, 2023, 8:16 am | Post: 1
*** SOLVED ***

You will need to add a custom.conf file in the directory /usr/local/apps/apache2/etc/conf.d to add custom configuration for apache.

Posted By: Brijesh on February 3, 2023, 6:01 am | Post: 2
Hi,

Glad to know your issue was resolved.

We will be adding native support for http2 by next week in Webuzo v3

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.