#在apache2/conf/extra/httpd-vhosts.conf下首行添加

<VirtualHost *:80>

    DocumentRoot "/usr/local/www/www.abc.com.cn/"
    ServerAlias 1.1.1.1
    <Location />
    Order Deny,Allow
    Deny from all
    </Location>
</VirtualHost>