TSRef - TypoScript Reference

4.1.7. IP

Syntax:

  [IP = ipaddress1, ipaddress2, ...]

 

Comparison:

The values are compared with the getenv("REMOTE_ADDR") from PHP.

You may include "*" instead of one of the parts in values. You may also list the first one, two or three parts and only they will be tested.

Examples:

These examples will match any IP-address starting with "123":

      [IP = 123.*.*.*]

or

      [IP = 123]

 

This examples will match any IP-address ending with "123" or being "192.168.1.34":

      [IP = *.*.*.123][IP = 192.168.1.34]

 


Valid XHTML 1.0!