NameVirtualHost *:80

 ServerName www.easycoo.net
 DocumentRoot "C:/web"
 
 Options FollowSymLinks IncludesNOEXEC Indexes
 DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
 AllowOverride Options FileInfo 
 Order Deny,Allow 
 Allow from all 

直接把上面代码拷贝到apache的conf文件中,更改 ServerName 和DocumentRoot 就可以。