日期:2014-05-16  浏览次数:20917 次

apache 启动失败
Apache启动报错:
the requested operation has failed

D:\Java\Apache2.2\bin>httpd.exe -w -n "Apache2.2" -k start
Syntax error on line 487 of D:/Java/Apache2.2/conf/httpd.conf:
Invalid command 'ProxyPass', perhaps misspelled or defined by a module not inclu
ded in the server configuration
Note the errors or messages above, and press the <ESC> key to exit.  0....

原因:需要在http.conf文件中配置以下模块:
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
改为:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so