./configure --prefix=/home/service/http/apache2/ --sysconfdir=/etc/ --enable-so --with-mpm=worker --enable-ssl --with-ssl=/usr/local/ssl/ --enable-rewrite --disable-autoindex --disable-userdir --disable-autoindex
编译加上:
--disable-userdir 禁用用户有自己的HTML目录
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
#UserDir public_html
UserDir disabled
编译加上:
--disable-userdir 禁用用户有自己的HTML目录
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
#UserDir public_html
UserDir disabled
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/3302/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表