如何在apache Vhost文件中允许多个子网?

时间:2014-04-04 11:56:20

标签: linux apache virtualhost

我试图在vhost文件中仅允许一个网站的几个子网。最好的方法是什么?

所以我想避免写下从10.10.56到10.10.122的每个子网..

    #Order allow,deny
    #allow from all
    Order deny,allow
    Deny from all
    Allow from 10.10.56
    Allow from 10.10.57
    Allow from 10.10.58
    Allow from 10.10.59
    Allow from 10.10.60
    Allow from 10.10.
    Allow from 10.10.122

我可以写一些类似10.10.56-122的内容吗?

提前致谢

0 个答案:

没有答案