免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2628 | 回复: 3

[Web] 请问用root用户运行apache 1.3.33问题 [复制链接]

论坛徽章:
0
发表于 2005-08-22 17:58 |显示全部楼层
apachectl start
Error:  Apache has not been designed to serve pages while
        running as root.  There are known race conditions that
        will allow any local user to read any file on the system.
        If you still desire to serve pages as root then
        add -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS line in your
        src/Configuration file and rebuild the server.  It is
        strongly suggested that you instead modify the User
        directive in your httpd.conf file to list a non-root
        user.

但是我已经在src/Configuration 添加了,还是不行,请问谁知道还要做什么吗?

我的某个应用需要用root身份运行apache

论坛徽章:
0
发表于 2005-08-22 22:34 |显示全部楼层

请问用root用户运行apache 1.3.33问题

改完还要重编译apache,我曾经这样做过,可以的。

论坛徽章:
0
发表于 2005-08-23 08:32 |显示全部楼层

请问用root用户运行apache 1.3.33问题

[quote]原帖由 "兰花仙子"]改完还要重编译apache,我曾经这样做过,可以的。[/quote 发表:


你要重新编译一下

论坛徽章:
0
发表于 2005-09-04 20:42 |显示全部楼层

请问用root用户运行apache 1.3.33问题

我重新编译过很多次,都不行
我是在solaris下 sparc cpu
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP