是这一段么? ======================================================== # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group nobody on these systems! # User nobody Group nobody ========================================================是把 User nobody Group nobody改为 User root Group root吧?我的apache是2.0的,修改后会不会又安全问题? 谢谢
在哪里设置Apache用户本身的权限呢?
里面有User;Group参数,就是Apahce在运行时的有效用户和组
一般不需要修改,默认就是User apache,不知道你为什么会不行
========================================================
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group nobody on these systems!
#
User nobody
Group nobody
========================================================是把
User nobody
Group nobody改为
User root
Group root吧?我的apache是2.0的,修改后会不会又安全问题? 谢谢