E D R , A S I H C RSS

FrontPage VPN_ApacheVirtualHost

* °øÀÎ IP °¡ ¸ÅÇÎµÈ »ç¼³ IP ·Î °¡»ó È£½ºÆ® Çϱâ
¿¹) ¿ÜºÎ¿¡¼­ µé¾î¿À´Â IP ´Â 210.90.80.18 Àε¥ ³»ºÎ´Â 172.16.52.200

1. /etc/httpd/conf/httpd.conf ¿¡¼­ ÇØÁà¾ßÇÒ°Í
Listen 0.0.0.0:80
NameVirtualHost *:80 <- °øÀÎ IP °¡ ¾Æ´Ò°æ¿ì ÀÌ·¸°Ô Àû¾îÁà¾ß ÇÑ´Ù !!!
# Named Base VirtualHost Include
include /etc/httpd/conf/vihost.conf 

2. /etc/httpd/conf.vihost.conf
<VirtualHost *:80>
       ServerAdmin webmaster@enterprise1.co.kr
       ServerName www.enterprise1.co.kr
       ServerAlias www.enterprise1.co.kr enterprise1.co.kr
       DocumentRoot /var/www/html
       ErrorLog logs/enterprise1_error_log
       CustomLog logs/enterprise1-access_log common
</VirtualHost>

<VirtualHost *:80>
       ServerAdmin webmaster@enterprise1.co.kr
       ServerName www.sunnyedu.com
       ServerAlias www.sunnyedu.com sunnyedu.com
       DocumentRoot /var/www/sunny
       ErrorLog logs/www.sunnyedu_error_log
       CustomLog logs/www.sunnyedu-access_log common
</VirtualHost>

<VirtualHost *:80>
       ServerAdmin webmaster@khameth.com
       ServerName www.khameth.com
       ServerAlias www.khameth.com khameth.com www.khameth.com
       DocumentRoot /var/www/khameth
       ErrorLog logs/www.khameth_error_log
       CustomLog logs/www.khameth-access_log common
</VirtualHost>

<VirtualHost *:80>
       ServerAdmin webmaster@donglimwood.co.kr
       ServerName www.donglimwood.co.kr
       ServerAlias www.donglimwood.co.kr donglimwood.co.kr
       DocumentRoot /var/www/donglim
       ErrorLog logs/www.donglim_error_log
       CustomLog logs/www.donglim-access_log common
</VirtualHost>
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-01-21 16:32:30
Processing time 0.0122 sec