justb4 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Clicking on "Download" in featureinfo table redirects to heron.cgi located on localhost #338

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Whenever I click to download displayed featureinfo of an active layer ( doesnt 
matter which format), my browser redirects it to heron.cgi located on localhost.
I'm using windows 7 and tried this on mozilla, chrome and Internet explorer

can anyone explain the possible reason ??

Original issue reported on code.google.com by bhanu.ma...@gmail.com on 21 Feb 2014 at 9:34

GoogleCodeExporter commented 9 years ago
This sounds like you have not installed heron.cgi or maybe not even Heron on a 
webserver. Best is to follow the installation steps like here:
http://heron-mc.org/tutorials/quickstart.html#download-and-go

In general this is more of a question than a defect it seems like. Could you 
pose this as a question on the Heron mailing list? See 
http://groups.google.com/group/geoext-viewer-devel

With these kind of questions it helps a whole lot if you could provide more 
information and context, like which version of Heron, how you have installed it 
etc. We are not with you behind the same computer, so how can we know your 
context?

Original comment by jus...@gmail.com on 21 Feb 2014 at 1:03

GoogleCodeExporter commented 9 years ago

okay , i will try to explain my situation :

I'm using apache tomcat 7.0 , and i have deployed geoserver 2.4.4 on it. I have 
installed heron-1.0.0 in the root directory of apache tomcat.
I can access http://localhost:8080/heron-1.0.0/examples/default , but i dont 
get any featureinfo when clicking on any feature . I have configured proxy.cgi 
to include url : 'localhost:8080' under "allowedHosts" . 

On the other hand , i have created my own html file , which i run through 
another folder located in tomcat's root directory . This html uses code 
collected and stitched together from various examples hosted on heron-mc.org. I 
havent included any proxy.cgi configuration in this folder or html file. 
Instead, I have installed a  reverse proxy servelet , called j2ep-1.0 , and it 
allows me to get featureinfo on all the layers and features. This html file 
runs successfully . Only problem being not able to download the featureinfo 
displayed in the featureinfo panel. Clicking on the download button results in 
redirection of webpage to http://localhost:8080/heron.cgi
I have attached my custom made html file , please take a look around to find 
any thing i missed to add up. 

I am a civil engineer and do not have advanced knowledge of any computer 
language whatsoever, I have just collected the code from various examples and 
stitched it together to create my own geoext-viewer.

I hope this elaborates the problem a little. If there is anything else to clear 
, i will be happy to explain 

thanks

Original comment by bhanu.ma...@gmail.com on 23 Feb 2014 at 9:01

Attachments:

GoogleCodeExporter commented 9 years ago
Update : Please consider the new index.html attached along this comment .

Original comment by bhanu.ma...@gmail.com on 24 Feb 2014 at 4:44

Attachments:

GoogleCodeExporter commented 9 years ago
I now see that most of the discussion is within the mailing list. This is also 
the place where it belongs, since it is a request for help, not (yet) a bug. If 
a bug comes out we'll reopen this issue.

See a link to the  thread below in the mailing list to following the 
discussion. Hopefully things are working by now.

https://groups.google.com/forum/#!topic/geoext-viewer-devel/bFl65qkjZvc

Original comment by jus...@gmail.com on 28 Feb 2014 at 11:32