找回密码
 注册
查看: 725|回复: 2

A question on Apache authen

[复制链接]
发表于 2005-5-18 17:24:26 | 显示全部楼层 |阅读模式
Hi!
I found a difference of Apache between 2.0.52-9 an 1.3.29
I run Apahce 2 and 1.3 on Redhatas4 and use the same configuration below .
I can go through authentication on 1.3,but can't go through authentication on 2..

#
<Directory "/var/www/html/private">
AllowOverride None
AuthType Basic
AuthName "jamond"
AuthUserFile /var/www/passwd/jamond
require valid-user
</Directory>
#


and the passwd file :jamond is
-rwxrwxrwx 1 apache apache 18 5 16 21:26 jamond

What difference is there ?
Expect a discussion whith you !
发表于 2005-5-18 17:49:18 | 显示全部楼层
Apache2 会对 AuthUserFile  做安全检查
回复

使用道具 举报

 楼主| 发表于 2005-5-19 10:20:24 | 显示全部楼层
I installed the "httpd-2.0.54.tar.gz" on my Linux system later ,but found that I could go through the authentication on 2.0.54.
Perhaps there is a buger in 2.0.52-9.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-22 06:21 , Processed in 0.053706 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表