有人可以向我解释这个:
在这个答案: 我如何使用基本authentication使用munin-node apache_?
有一句话说:
如果您需要对URL进行身份validation访问,则可以在URL中指定用户名和密码。 例如:
- 本地DNS和Apache服务器configuration干扰 – example.com / www.example.com
- Apache代理转发鳄梨酱
- Apache行为不当(返回404s)
- Apache:将SSL服务器/客户机证书分配给目录
- 如何限制Apache位置指令以保留子域?
[apache_volume] <env.url http://munin:spamalot@localhost/server-status?auto>
我不明白。
例如,如果用户名是xxxx ,密码是yyyy ,我将如何将<env.url http://munin:spamalot@localhost/server-status?auto>更改为用户名xxxx和密码yyyy <env.url http://munin:spamalot@localhost/server-status?auto> ?
答案就在你面前
http://munin:spamalot@localhost/server-status?auto
成为
http://xxxx:yyyy@localhost/server-status?auto