两个不同的虚拟主机,显示一个页面
我有两个不同的网站configuration使用虚拟主机(虚拟主机文件的内容是张贴在下面)我只是复制默认文件,并编辑了几行… 当我将浏览器指向两个站点中的任何一个时,只有两个站点中的第一个的内容出现… 为什么? <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/hunterprojects.com/public_html <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/hunterprojects.com/public_html> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, […]