apmserver本地多站点支持配置是怎么做的啊

2025-12-04 08:11:53
推荐回答(1个)
回答1:

在httpd.conf这个文件中添加了下面两段,重启服务就OK了

#APMServ默认虚拟主机
NameVirtualHost www.jiulinghou.org:80

ServerName www.iup.com
DocumentRoot "d:/aizhi"


Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.php index.html default.php index.htm default.htm
AllowOverride None
Order Deny,Allow
Allow from all



NameVirtualHost www.0791jiayuanwang.com:80

ServerName www.360.com
DocumentRoot "E:/360"


Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.html default.php index.htm default.htm
AllowOverride None
Order Deny,Allow
Allow from all