看看阿帕奇语包含指令 :
http://http://httpd.apache.org/docs/2.2/mod/core.html#including
您可以创建一个包含您拒绝的列表的分隔配置文件, 并在其他配置文件, 即站点可用的站点中包含此文件。 示例如下 :
在/etc/apache2/ sites-powed/ your site.conf 中,在/etc/apache2/ sites-powed/ your site.conf 中,在/etc/pache2/ sites-powed/ yours.conf 中,在/etc/apache2/ sites-pounded/ yoursite.conf 中,在/etc/pache2/s-petf 中,在/etc/pache2/ sites-powed/ yoursite.conf 中,在/etc/pache2/ sites-papeded/ yoursite.conf 中,在/ ac.conf 中,在/ ac/ ac/ ac/ ac/achec/achec/achec/achec/ache/ache2-sept---sept----sept------------------------------------------------------------------
<VirtualHost *:80>
...
Include /etc/apache2/sites-access/yoursite.conf
...
</VirtualHost>
在/etc/apache2/ sites-access/ your site.conf 中,在/etc/apache2/ sites-access/ yoursite.conf 中,在/etc/apache2/ sites-access/ yoursite.conf 中,在/etc/apache2/ sites-access/ yoursite.conf 中,在/etc/apache2/ sites-access/ yoursite.conf 中,在/etc/apache2/s-access-access/ yoursite.conf 中,在/etc/ac/ache2/s-access-access/ yourserf.conf 中,在/etc/ache/ache/ache/ache/ache/ache2/serf.conf.conf 中,在/ac.c/ac/ac/ache/ache/ache/ac/ac/ache2/s/ac/ac/ache2/s/ac/ache2/s/ache2/s/ache2/s-ache2/c/c/ache2/scc
order allow,deny
deny from 10.0.0.1
allow from all