Chinaunix
标题:
有谁真正做过LINUX虚拟主机服务器的。
[打印本页]
作者:
rd16
时间:
2009-04-20 14:43
标题:
有谁真正做过LINUX虚拟主机服务器的。
有谁真正做过LINUX虚拟主机服务器的。? 请问您们是怎么解决权限问题的,比如我上传了PHP木马,可以列出其它网站的文件。
LINUX是否可以像NT一样,一个网站对应一个用户(文件夹权限也是)?
作者:
vermouth
时间:
2009-04-20 18:02
合理控制 目录权限和共享权限?
作者:
kns1024wh
时间:
2009-04-20 21:03
标题:
回复 #1 rd16 的帖子
vps 的这个是网络上的可以用的虚拟主机 有相对的root权限的
作者:
cst05001
时间:
2009-04-21 00:32
可以。
看httd.conf
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir disabled
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disabled" line above, and uncomment
# the following line instead:
#
#UserDir public_html
</IfModule>
复制代码
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2