首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >多个代理: /var/log/apache2/error.log中的错误

多个代理: /var/log/apache2/error.log中的错误
EN

Ask Ubuntu用户
提问于 2021-12-13 20:02:03
回答 2查看 482关注 0票数 2

我不知道这些警告是什么意思。当人们试图连接到我的服务器时,我应该担心它们还是忽略它们?代理Mod已经启用,但是我不太关心这个问题,而且我的apache实例显示的是试图代理的随机ip和web地址:?

代码语言:javascript
运行
复制
[Mon Dec 13 19:49:12.127111 2021] [proxy:warn] [pid 992000] [client 162.55.232.112:45408] AH01144: No protocol handler was valid for the URL 192.169.152.51:443 (scheme '192.169.152.51'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:12.203528 2021] [proxy:warn] [pid 992002] [client 162.55.235.124:49258] AH01144: No protocol handler was valid for the URL 192.169.152.51:443 (scheme '192.169.152.51'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:12.825123 2021] [proxy:warn] [pid 992004] [client 162.55.232.112:48362] AH01144: No protocol handler was valid for the URL www.mining-cast.com:443 (scheme 'www.mining-cast.com'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:13.158784 2021] [proxy:warn] [pid 992010] [client 162.55.232.116:39704] AH01144: No protocol handler was valid for the URL sdk.finance:443 (scheme 'sdk.finance'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:14.867535 2021] [proxy:warn] [pid 992009] [client 176.9.19.26:45758] AH01144: No protocol handler was valid for the URL www.mining-cast.com:443 (scheme 'www.mining-cast.com'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:14.988339 2021] [proxy:warn] [pid 992003] [client 162.55.235.124:33712] AH01144: No protocol handler was valid for the URL portugiptv.com:443 (scheme 'portugiptv.com'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:15.730902 2021] [proxy:warn] [pid 992001] [client 162.55.232.116:54246] AH01144: No protocol handler was valid for the URL sdk.finance:443 (scheme 'sdk.finance'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:17.591263 2021] [proxy:warn] [pid 992000] [client 162.55.232.112:41990] AH01144: No protocol handler was valid for the URL beastiptv.best:443 (scheme 'beastiptv.best'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:19.224691 2021] [proxy:warn] [pid 992002] [client 176.9.19.26:41162] AH01144: No protocol handler was valid for the URL dossiers-du-rocher.com:443 (scheme 'dossiers-du-rocher.com'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Mon Dec 13 19:49:20.844906 2021] [ssl:error] [pid 992010] [remote 192.185.52.242:443] AH01961: SSL Proxy requested for localhost.localdomain:80 but not enabled [Hint: SSLProxyEngine]
[Mon Dec 13 19:49:20.844960 2021] [proxy:error] [pid 992010] AH00961: HTTPS: failed to enable ssl support for 192.185.52.242:443 (www.standuptoracism.org.uk)

apache2 mods

代码语言:javascript
运行
复制
root@localhost:~# apache2ctl -M
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_http_module (shared)
EN

回答 2

Ask Ubuntu用户

发布于 2021-12-27 16:37:52

我想您已经启用了代理模块。你需要禁用它

代码语言:javascript
运行
复制
a2dismod proxy

也许还有其他的国防部你需要禁用。若要查看还可以(应该)禁用哪些模块,请检查

代码语言:javascript
运行
复制
apache2ctl -M
票数 0
EN

Ask Ubuntu用户

发布于 2021-12-28 14:05:26

好的,在这里,如何启用mod_proxy。

代码语言:javascript
运行
复制
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_balancer
a2enmod lbmethod_byrequests
systemctl restart apache2

除了代理之外,您还需要有一个(或多个)http服务器来交付内容。

http://10.10.0.100 -代理服务器

http://192.168.0.11 -内容服务器

编辑/etc/apache2/sites available/000-default.conf并将虚拟主机部分更改为

代码语言:javascript
运行
复制
<VirtualHost *:80>
    ProxyPreserveHost On

    ProxyPass / http://192.168.0.11/
    ProxyPassReverse / http://192.168.0.11/
</VirtualHost>

重新启动Apache

代码语言:javascript
运行
复制
systemctl restart apache2

现在,如果您在web浏览器中访问代理服务器(http://10.10.0.100),您将看到后端服务器(http://192.168.0.11)的响应。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1380839

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档