SYNTAX ERROR:
AH00526: Syntax error on line 198 of /private/etc/apache2/httpd.conf:
Invalid command 'The', perhaps misspelled or defined by a module not included in the server configuration
MacBook Pro 13", 10.13
AH00526: Syntax error on line 198 of /private/etc/apache2/httpd.conf:
Invalid command 'The', perhaps misspelled or defined by a module not included in the server configuration
MacBook Pro 13", 10.13
So have a look at line 198 of /private/etc/apache2/httpd.conf.
That line of that file or maybe an adjacent line very likely contains a syntax error, and probably an error involving the word “The” being present in the configuration file in a place where it should not be.
Maybe a comment character was clobbered?
Use a command-line editor after launching Terminal.app to get to the command line, or use the (free) subset BBEdit (formerly TextWrangler) GUI text editor if you are not yet familiar with the available command-line editors in macOS including emacs, vim, and pico/nano.
The pico/nano editor is the least complex of these three command-line editors. The command to invoke the editor:
nano /private/etc/apache2/httpd.conf
Microsoft Word, iWork Pages, and most other GUI-based editors cannot be used with these configuration files. Some of these tools might read the file, but most of these will write RTF or some other format, and that clobber the files when saving the changes.
A web search engine will also turn up various discussions of syntax errors in Apache configuration files. It’s not an uncommon situation, though how each particular possible error might have found its way into the configuration file does vary.
Finder>Go>Go to Folder> copy and paste:
/private/etc/apache2/httpd.conf
SYNTAX ERROR: