APMServer配置多个站点 我这里是两台站点,我用的软件是APMServer,我在httpd.conf这个文件中添加了下面两段,重启服务就OK了 #APMServ默认虚拟主机 NameVirtualHost www.iup.com:80<VirtualHost www.iup.com:80> ServerName www.iup.com DocumentRoot "d:/aizhi" </VirtualHost> <Directory "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 </Directory>
<VirtualHost www.360.com:80> ServerName www.360.com DocumentRoot "E:/360" </VirtualHost> <Directory "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 </Directory> |
|