作者:xdpcxq
Redhat 7.0下通过http://localhost:901来配置smb.conf
通过几经周折终于搞定了
前提条件是你的httpd必须能正常工作
找到./etc/xinitd.d/swat文件
改为这样
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
# only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}
然后运行chkconfig swat on;
再运行etc/rc.d/init.d/xinitd restart就可以了,
你可在浏览器中输入http://localhost:901.