0
使用https://community.opscode.com/cookbooks/httpd/versions/0.1.5厨师在httpd配方中设置DocumentRoot
有谁知道如何设置DocumentRoot?物业?
我目前使用
httpd_service "default" do
listen_ports ['81']
action :create
end
产生
ServerName centos65x64
ServerRoot /etc/httpd
PidFile /var/run/httpd/httpd.pid
User apache
Group apache
Timeout 400
ErrorLog /var/log/httpd/error_log
LogLevel warn
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
DefaultType None
HostnameLookups off
Listen 0.0.0.0:81
Include conf.d/*.conf
Include conf.d/*.load
在httpd.conf中,但我不知道到底如何设置文档根。