Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

CGI query error on PROD #106

@gjscheer-ucd

Description

@gjscheer-ucd

A CGI query just returns the contents of the perl script.

http://10.158.193.144/wms/wms.cgi?TIME=2019-10-29:2019-10-29&VERSION=1.1&REQUEST=GetFeatureInfo&SRID=4269&BBOX=0,0,180,90&HEIGHT=90&WIDTH=180&ZIPCODE=94603

#! /usr/bin/perl -w
use CGI  qw/:standard -oldstyle_urls/;
use CGI::Carp;
use File::Temp qw(tempdir);
use XML::XPath;
use XML::XPath::Parser;
my $xml;
my $q=new CGI();
# Need to set the proper GISDBASE for operation.
my $mapset='/app/cimis/gdb15/cimis/apache';
# Try setting HOME for grass
$ENV{HOME}='/home/apache';
$ENV{LC_ALL}='en_US.UTF-8';
...```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions