Apache启动报错:Invalid command ‘ProxyPass‘, perhaps misspelled or defined by a module not inclu ded in t

配置文件httpd,问题出在 ProxyPass 这个环节:

ProxyPass /vict_service http://localhost:8080/vict_service
也就是要为 /vict_service 这个请求路径匹配一个实际可用的路径,既然提示ProxyPass命令无效,那么肯定是某个地方的设置问题。

解决的方法就在httpd这个配置文件里,找到以下两条:

#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_http_module modules/mod_proxy_http.so

前面有# 号,说明被注释掉了,不起作用,把#号去掉,就可以了。
 
感谢 「*艸」 https://blog.csdn.net/weixin_46180637/article/details/126948519

posted @   海乐学习  阅读(317)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2021-06-30 Springboot java项目 java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
2021-06-30 Spring boot 项目报错 javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String;
点击右上角即可分享
微信分享提示