Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_h2 Invalid command |
|
Author |
|
roysitumorang
Joined: 13 Jul 2015 Posts: 14 Location: Indonesia, Sidikalang
|
Posted: Mon 21 Sep '15 16:37 Post subject: |
|
|
I edited httpd.conf to load mod_h2 then restarted httpd but I got the following message:
Code: | AH00526: Syntax error on line 11 of D:/Apache24/conf/extra/httpd-h2.conf:
Invalid command 'H2Engine', perhaps misspelled or defined by a module not included in the server configuration |
Any clue? |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Mon 21 Sep '15 16:51 Post subject: |
|
|
See the notes from glsmith at https://www.apachelounge.com/viewtopic.php?p=31675
Only you have to do is:
UnComment:
LoadModule h2_module modules/mod_h2.so
And add to you httpd.conf:
<IfModule h2_module>
ProtocolsHonorOrder On
Protocols h2c h2 http/1.1
</IfModule> |
|
Back to top |
|
roysitumorang
Joined: 13 Jul 2015 Posts: 14 Location: Indonesia, Sidikalang
|
Posted: Tue 22 Sep '15 9:12 Post subject: |
|
|
Thanks, now it works. |
|
Back to top |
|
|
|
|
|
|