这更像是一个Linux用户的问题,Apache操作Linux下的东西,总要有个用户授权,我一直在找这个授权在什么地方。
上网搜,搜到的居然都是Apache限制http访问的授权
于是就苦找了一下,K.O.!
在httpd.conf里有apache的执行用户和用户组,
<IfModule !mpm_netware_module>
#
# 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.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User nobody
Group nobody
</IfModule>
上网搜,搜到的居然都是Apache限制http访问的授权
于是就苦找了一下,K.O.!
在httpd.conf里有apache的执行用户和用户组,
<IfModule !mpm_netware_module>
#
# 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.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User nobody
Group nobody
</IfModule>
本文转自 今天我不乖 51CTO博客,原文链接:http://blog.51cto.com/buguaisp2/169358,如需转载请自行联系原作者