logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_h2 Invalid command
Author
roysitumorang



Joined: 13 Jul 2015
Posts: 14
Location: Indonesia, Sidikalang

PostPosted: Mon 21 Sep '15 16:37    Post subject: Reply with quote

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: 677

PostPosted: Mon 21 Sep '15 16:51    Post subject: Reply with quote

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

PostPosted: Tue 22 Sep '15 9:12    Post subject: Reply with quote

Thanks, now it works.
Back to top


Reply to topic   Topic: mod_h2 Invalid command View previous topic :: View next topic
Post new topic   Forum Index -> Apache