Dear All,
I just do the recompilation on Apache and after finish it, my apache wont restart with error:
● httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-03-15 04:25:42 +08; 5min ago
Process: 15017 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Main PID: 27408 (code=exited, status=0/SUCCESS)
Mar 15 04:25:42 cwp.fpl.com.my systemd[1]: Starting Web server Apache...
Mar 15 04:25:42 cwp.fpl.com.my apachectl[15017]: AH00526: Syntax error on line 13 of /usr/local/apache/conf/sharedip.conf:
Mar 15 04:25:42 cwp.fpl.com.my apachectl[15017]: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Mar 15 04:25:42 cwp.fpl.com.my systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 15 04:25:42 cwp.fpl.com.my systemd[1]: Failed to start Web server Apache.
Mar 15 04:25:42 cwp.fpl.com.my systemd[1]: Unit httpd.service entered failed state.
Mar 15 04:25:42 cwp.fpl.com.my systemd[1]: httpd.service failed.
Please help. TQ