1 Star 0 Fork 14

jinjin/nagios

forked from src-openEuler/nagios 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nagios-0005-Fixed-path-to-passwd-file-in-Apache-s-config-file.patch 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
fun_yang 提交于 2020-03-16 14:12 . package init
diff -up ./sample-config/httpd.conf.in.fix_path_to_passwd ./sample-config/httpd.conf.in
--- ./sample-config/httpd.conf.in.fix_path_to_passwd 2016-10-24 10:10:28.000000000 -0400
+++ ./sample-config/httpd.conf.in 2016-11-08 14:37:02.117929826 -0500
@@ -18,7 +18,7 @@ ScriptAlias @cgiurl@ "@sbindir@"
AuthName "Nagios Access"
AuthType Basic
- AuthUserFile @sysconfdir@/htpasswd.users
+ AuthUserFile @sysconfdir@/passwd
Require valid-user
</RequireAll>
</IfVersion>
@@ -31,7 +31,7 @@ ScriptAlias @cgiurl@ "@sbindir@"
AuthName "Nagios Access"
AuthType Basic
- AuthUserFile @sysconfdir@/htpasswd.users
+ AuthUserFile @sysconfdir@/passwd
Require valid-user
</IfVersion>
</Directory>
@@ -49,7 +49,7 @@ Alias @htmurl@ "@datadir@"
AuthName "Nagios Access"
AuthType Basic
- AuthUserFile @sysconfdir@/htpasswd.users
+ AuthUserFile @sysconfdir@/passwd
Require valid-user
</RequireAll>
</IfVersion>
@@ -62,7 +62,7 @@ Alias @htmurl@ "@datadir@"
AuthName "Nagios Access"
AuthType Basic
- AuthUserFile @sysconfdir@/htpasswd.users
+ AuthUserFile @sysconfdir@/passwd
Require valid-user
</IfVersion>
</Directory>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yanglijin/nagios.git
git@gitee.com:yanglijin/nagios.git
yanglijin
nagios
nagios
master

搜索帮助