#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User apache
Group apache
2 默认措施读取路径
DocumentRoot "/var/www/html"
3
上面的路径变了,这里也要做相应的批改
4 AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
AddType application/x-httpd-php .php 假如不加这行,在网页将不推行这个文件,却以代码行动表现.
AddType text/vnd.wap.wml .wml