Apache配置一個反向代理
reload配置後顯示報錯,配置文件中代理模塊未configure。
無法識別參數:
ProxyPass
ProxyPa***everse
查看/var/log/apache/error.log
日誌警告:
[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
處理方法:
a2enmod proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http