如把192.168.1.10解析成 www.web.com 和 www.8080.com
并且在不同的域名下能访问不同的网页
<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/web
ServerName www.web.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
<VirtualHost *:8080>
# ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/8080
ServerName www.8080.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>