[Thread Prev][Thread Next][Index]

[las_users] LAS compiling error: forbidden: at ./configure.pl



Hi LAS users,

I got an error when I was configuring the LAS. when it checked web server, gave an error message: Forbidden at ./configure.pl on line 808. I checked the configure.pl, configuration stopped at the place where I highlighted below, do you have any idea about this kind of error?

 

if ($res){

    print "Checking server...\n";

    my $url = new URI::URL("http://"; . $hostname , "/");

    my $req = new HTTP::Request(GET, $url);

    my $ra = new LWP::UserAgent;

    my $resp = $ra->request($req);

    if ($resp->is_success){

        my $server = $resp->headers->server;

        my ($junk) = split(' ',$server);

        my ($type, $version) = split('/',$junk);

        if ($type =~ /Apache/){ # Bug 142

            my ($major, $minor) = split('\.', $version);

            if (($major == 1 && $minor >= 3) || ($major > 1)){

                print "Good. You are running an Apache server.\n";

            } else {

                print "You are running Apache $version. LAS requires you to run ";

                print "at least 1.3.1\n";

                exit 1;

            }

        } else {

            print "You are running an unsupported server:\n";

            print "\t$server\n";

            print "The script will continue, but LAS has not been tested on\n";

            print "this server\n";

            $LasConfig{apache} = 0;

        }

    } else {

        die $resp->message;

    }

}

 

Thank you in advance.

Steven



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement