AH00526: Syntax error on line 23 of /etc/apache2/sites-enabled/000-default.conf: Invalid command 'Documentroot', perhaps misspelled or defined by a module not included
<Directory /var/www/example/public_html> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Documentroot is misspelled; correct is DocumentRoot (capital R).
Compile with apxs -i -a -c mod_myhello.c , then use <Files *.hello> SetHandler hello-world</Files> .
Unlike many other licenses, it includes an explicit grant of patent rights from contributors to users. Redistribution:
Apache2 code is declarative, not procedural. You aren't writing a script that runs from top to bottom; you are declaring a state for the server to maintain. The syntax relies on and Containers .