Apache启动报错:
[b]the requested operation has failed[/b]
D:\Java\Apache2.2\bin>[b]httpd.exe -w -n "Apache2.2" -k start[/b]
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
[b]the requested operation has failed[/b]
D:\Java\Apache2.2\bin>[b]httpd.exe -w -n "Apache2.2" -k start[/b]
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