Apache配置文件 Apache的配置文件默认路径是“/etc/httpd/conf/httpd.conf”,编辑该文件就可以修改Apache的配置 1.设置网页主目录,参数DocumentRoot就是网页存放的主目录.打开配置文件httpd.conf,查找DocumentRoot(大约292行) [root@localhost ~]# gedit /etc/httpd/conf/httpd.conf # DocumentRoot: The directory out of which you