编者Apache 的配置文件httpd.conf

编辑Apache 的配置文件httpd.conf编辑Apache 的配置文件httpd.conf NameVirtualHost *:80#端口号VirtualH

编辑Apache 的配置文件httpd.conf
编辑Apache 的配置文件httpd.conf


NameVirtualHost *:80
#端口号
<VirtualHost *:80>
ServerAdmin admin@localhost.com
#管理员MAIL
DocumentRoot d:\wamp\www
#网站文件所在位置
ServerName javatim.vicp.net
#域名
  <Directory "d:/wamp/www/">
#网站文件所在位置(注意/在最后也有)
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

在WAMP中配置成功,APACHE估计也无问题