0

I want to give subnet for various IPs while writing rewritecond. So how should i give the subnet mask in the below rule. the IP is 218.104.51.160/29

RewriteCond %{HTTP:X-Forwarded-For} !^IP
RewriteRule ^  - [F,L]
MadHatter
  • 78,442
  • 20
  • 178
  • 229
Ankit
  • 11
  • 1
    Rather than asking for help implementing a specific solution to your problem, tell us what your problem is. Why do you want to do this? What problem will it solve? – David Schwartz Jan 07 '16 at 08:45

1 Answers1

3

You can't. What you're trying to do makes no sense.

user9517
  • 114,104
  • 20
  • 206
  • 289