Apache 2.2中的范围中的“允许”


0

我想在Apache httpd 2.2中添加一个IP地址范围,其中第三个八位位组在一个IP地址范围内:

X.Y.192-254

我可以做这个:

Allow from X.Y.192
Allow from X.Y.193
. . .
Allow from Y.Y.254

但是,这很冗长。我基本上是在尝试添加部分IP的列表。

有捷径吗?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.