apache默认的DocumentRoot是:

/var/www/html
or
/var/www/

Ubuntu / Debian

/etc/apache2/sites-enabled/000-default
/etc/apache/apache2.conf

CentOS / RHEL / Fedora

/etc/httpd/conf/httpd.conf
如果觉得我的文章对你有用,请随意赞赏