我试图在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的内容吗?
提前致谢