2011年11月3日 星期四

Apache, 虛擬站台原始設定





httpd-vhosts.conf

------------------------------------------------------------------



NameVirtualHost *:80



<VirtualHost *:80>

    ServerAdmin ron.lee@airlive.com

    DocumentRoot "D:\www\www\test.com\en.test.local"

    ServerName en.test.local

    ErrorLog "logs/en.test.local-error.log"

    CustomLog "logs/en.test.local-access.log" combined

</VirtualHost>



<VirtualHost *:80>

    ServerAdmin ron.lee@airlive.com

    DocumentRoot "D:\www\www\crm.local"

    ServerName crm.local

    ErrorLog "logs/crm.local-error.log"

    CustomLog "logs/crm.local-access.log" combined

</VirtualHost>

------------------------------------------------------------------