Demo Requests not executable outside firewall
---------------------------------------------
Key: GEOS-4386
URL: http://jira.codehaus.org/browse/GEOS-4386
Project: GeoServer
Issue Type: Bug
Components: Configuration
Affects Versions: 2.1-beta3
Reporter: Senthilruban Puvanendran
Assignee: Justin Deoliveira
Currently i am using GeoServer in production environment where tomcat running on port 8080 and with iptables, external port 80 requests are forwarded to port 8080 to access tomcat. Every one using GIS application or Geoserver will be using url with port 80 access as it is only accessible. Everything works fine. However in Geoserver demo request section, i have added few customized demo requests to generate shape files based on conditions, those are resulting HTTP response with 503 error code.
Reason for that, in the demo request page, URL is loaded based on client browser access url which means url with port 80. However the request executed internally within geoserver, there port 80 is not accessible.
The possible fix is having optional parameter in demo request file to specify the url, when it is not there, get baseUrl from request as current way.
Currently i given workaround to manually modify the url as localhost:8080/geoserver/wms to access.
If you are fine with above fix, i can provide the patch as familiar with codebase.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira