MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Chazy Chaz on 2016-05-20, 22:48:40
-
Hi, I have httpd24u installed and I'd like to enable the HTTP/2 protocol.
I've been reading about this and it seems that apache >= 2.4.17 already comes with the module built-in, so I've just checked this:
# httpd -M
[...]
http2_module (shared)
[...]
Now I need to configure the apache virtual hosts configuration file, but I don't know where it is (/home/apache doesn't exists in kloxo-mr7). The configuration would be something like this:
<VirtualHost *:443>
# for enabling h2 on an https server
Protocols h2 http/1.1
# other SSL configurations go here
# ...
</VirtualHost>
And restart apache:
/sbin/service httpd restart
Where's this file?
Thanks!
-
Update your Kloxo-MR with 'yum clean all; yum update -y; sh /script/cleanup'
-
Thanks for implement this. Is it supposed to work out of the box? Maybe I'm doing something wrong because it's not working yet.
Edit: This is the log, everything went okay (except nginx but I'm not using it anyway): http://pastebin.com/bGhwZ64G
-
Try change to 'apache' and then change back to 'nginx-proxy' in 'switch programs'.
-
I'm currently using 'apache' with 'Use Apache 2.4' option enabled.
I unchecked that option and selected 'nginxproxy' and then back to 'apache' but still not working.
-
Update your Kloxo-MR with 'yum clean all; yum update -y; sh /script/cleanup'
-
I've even rebooted but still nothing. Do I have to reinstall apache?
-
Make sure the version became to '7.0.0.b-2016052206'. Check with 'sh /script/version-full'.
-
Yes, that's the installed version:
# sh /script/version-full
7.0.0.b-2016052206
-
What's you mean 'I've even rebooted but still nothing. Do I have to reinstall apache?'
-
I meant that after I upgraded to '7.0.0.b-2016052206' I did reboot the vps. And if I need to switch programs again.
Did you tested it? I mean, I don't know if it's a bug in kloxo or I did something wrong again :P
-
I meant that after I upgraded to '7.0.0.b-2016052206' I did reboot the vps. And if I need to switch programs again.
Did you tested it? I mean, I don't know if it's a bug in kloxo or I did something wrong again :P
No. Running 'sh /script/cleanup' will be fix nginx issue.
-
Look like http/2 still trouble for apache. Running well for nginx (including nginx-proxy).
-
Is it possible to use apache for some domains and nginx for others?
-
Is it possible to use apache for some domains and nginx for others?
At this moment, when using nginx-proxy, you select for using 'nginx' or 'nginx-proxy' for every domains. Go to 'admin > all > all domains > (select one) > Web Features'.