Forum Moderators: phranque
<Directory "/www/lanonly/">
Order Deny,Allow
Deny from all
Allow from 192.168.0.1/192.168.0.255
</Directory>
i need allow from
62.*.32.0/62.*.63.255 62.**.1.0/62.**.255.255
<snip> a very long list of specific ip addresses </snip>
but there are TOO many range, i get a 500 Error and all range are correctly wellformatted.
[edited by: jdMorgan at 3:29 am (utc) on Feb. 14, 2005]
[edit reason] Removed specifics. Please see TOS. [/edit]
You may specify a single address, such as 62.**.123.45
Or you may specify a partial address prefix like 62.**.123
Or you may specify a base address and a netmask 62.**.123.0/255.255.255.0
Or you may specify a network/CIDR pair like 62.**.123.0/24
The last three options above do the same thing -- they specify the range of 62.**.123.0 through 62.**.123.255.
Your file was formatted such that it would appear to be in the base address/netmask form, but the netmasks were invalid.
Experiment with a much smaller address list until you get it working, then add a few more addresses.
Jim