Name

IpHead — use only part of the IP to qualify user sessions

SYNOPSIS

No | Yes

DESCRIPTION

The directive affects the domain/IP session qualifying method. When enabled, only the first IpQuad dot-quads of the IP address are used to qualify the user session (along with, of course, the session ID).

This is a slight compromise on security, but it allows non-cookie-accepting browsers, like AOL's V2.0, to use multiple proxy servers.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Enabling IpHead

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

IpHead is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 475

['IpHead',       'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

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

DocBook! Interchange!