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

CGI query error on PROD #106

Open
gjscheer-ucd opened this issue Nov 22, 2019 · 0 comments
Open

CGI query error on PROD #106

gjscheer-ucd opened this issue Nov 22, 2019 · 0 comments
Assignees

Comments

@gjscheer-ucd
Copy link
Collaborator

gjscheer-ucd commented Nov 22, 2019

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';
...```
@gjscheer-ucd gjscheer-ucd mentioned this issue Nov 22, 2019
14 tasks
@qjhart qjhart removed their assignment Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants