在我的httpd.conf
文件中,我有以下几行:
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
AddModule mod_proxy.c
ProxyPass /myapp http://ec2-54-242-101-196.compute-1.amazonaws.com:8080/
ProxyPassReverse /myapp http://ec2-54-242-101-196.compute-1.amazonaws.com:8080/
当我重新启动 apache 时,出现如下错误:
Syntax error on line 2 of /etc/apache2/httpd.conf:
Invalid command 'AddModule', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
我按照这里的教程表格。
我在哪里犯错误?