Name

IpQuad — specify number of dot-quads to honor when IpHead is enabled

SYNOPSIS

number

DESCRIPTION

The directive simply specifies the number of dot-quads the session qualifier will look at, if IpHead is enabled.

In other words, with an IPv4 address (32 bit address, consisting of four dot-quads) of value 127.0.0.1 and IpQuad of 3, 127.0.0. would be enough to qualify the user session.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting IpQuad

Put the following in interchange.cfg:

DomainTail No
IpHead     Yes
IpQuad     3

NOTES

DomainTail is preferable unless one of your HTTP servers does not do host name lookups.

AVAILABILITY

IpQuad is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 478

['IpQuad',       'integer',          '1'],

Source: lib/Vend/Config.pm
Line 3992 (context shows lines 3992-3999)

sub parse_integer {
my($var, $value) = @_;
$value = hex($value) if $value =~ /^0x[\dA-Fa-f]+$/;
$value = oct($value) if $value =~ /^0[0-7]+$/;
config_error("The $var directive (now set to '$value') must be an integer\n")
  unless $value =~ /^\d+$/;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

WideOpen(7ic), IpHead(7ic), CountrySubdomains(7ic), DomainTail(7ic), TrustProxy(7ic)

DocBook! Interchange!