1
# See bottom of file for license and copyright information
2
package Foswiki::Configure::Checkers::PROXY::HOST;
6
use Foswiki::Configure::Checker;
8
use base 'Foswiki::Configure::Checker';
14
if ($Foswiki::cfg{PROXY}{HOST}) {
15
$e = $this->WARN("{PROXY}{HOST} should include a scheme (e.g. http://)")
16
unless $Foswiki::cfg{PROXY}{HOST} =~ m[^\w+://];
25
# Foswiki - The Free and Open Source Wiki, http://foswiki.org/
27
# Copyright (C) 2008 Foswiki Contributors. All Rights Reserved.
28
# Foswiki Contributors are listed in the AUTHORS file in the root
29
# of this distribution. NOTE: Please extend that file, not this notice.
31
# Additional copyrights apply to some or all of the code in this
34
# Copyright (C) 2000-2006 TWiki Contributors. All Rights Reserved.
35
# TWiki Contributors are listed in the AUTHORS file in the root
36
# of this distribution. NOTE: Please extend that file, not this notice.
38
# This program is free software; you can redistribute it and/or
39
# modify it under the terms of the GNU General Public License
40
# as published by the Free Software Foundation; either version 2
41
# of the License, or (at your option) any later version. For
42
# more details read LICENSE in the root of this distribution.
44
# This program is distributed in the hope that it will be useful,
45
# but WITHOUT ANY WARRANTY; without even the implied warranty of
46
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
48
# As per the GPL, removal of this notice is prohibited.