Aggregate Redirect Loop

Hey Guys

Im trying to build an Online Aggregate using Local installation. I'm using tomcat 7 for the installation and running well on local.
I plan to open just one port to my pc (just the :80 which used by apache2), then use the mod_jk connector to redirect it to my tomcat directory. My aggregate directory is /CAPI55 then in the installation i set the dns to my public dns.

In example, my dns is capi.gede.com, if i enter that url in browser it can access my apache2 main page and if i access capi.gede.com/CAPI55 it load the redirect page from Aggregate, but failed to redirect with "The webpage at http://capi.stis.ac.id/CAPI55/Aggregate.html has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer." error in Chrome. BUT i can access capi.gede.com/formList and capi.gede.com/submission

Any idea ?

If I understand what you are trying to do, you should run the ODK Aggregate
installer and specify the hostname and port of your apache2 server and not
that of the tomcat 7 server. And then ONLY access ODK Aggregate through
that apache2 server.

ODK Aggregate does not adapt to whatever server or host name is used when
it is contacted. So you must choose a dns of either capi.gede.com or of
capi.stis.ac.id. It cannot work with both.

You must choose a specific hostname and port for ODK Aggregate, and you
must specify that hostname and port when you run the installer. We require
this because (1) exports to CSV and KML files include embedded links back
to the server, (2) publishers transmit embedded links in the rows sent to
external servers, (3) SSL certificates are bound to specific hostnames, (4)
if using a proxy or load balancer, the load balancer's public name will be
different than the local hostname. For all of these reasons, and to
minimize support and configuration problems, we require and enforce all
links and pages to be under a specific user-specified hostname and port.

ยทยทยท On Thu, Feb 18, 2016 at 12:57 AM, <13.7635@stis.ac.id> wrote:

Hey Guys

Im trying to build an Online Aggregate using Local installation. I'm using
tomcat 7 for the installation and running well on local.
I plan to open just one port to my pc (just the :80 which used by
apache2), then use the mod_jk connector to redirect it to my tomcat
directory. My aggregate directory is /CAPI55 then in the installation i set
the dns to my public dns.

In example, my dns is capi.gede.com, if i enter that url in browser it
can access my apache2 main page and if i access capi.gede.com/CAPI55 it
load the redirect page from Aggregate, but failed to redirect with "The
webpage at http://capi.stis.ac.id/CAPI55/Aggregate.html has resulted in
too many redirects. Clearing your cookies for this site or allowing
third-party cookies may fix the problem. If not, it is possibly a server
configuration issue and not a problem with your computer." error in Chrome.
BUT i can access capi.gede.com/formList and capi.gede.com/submission

Any idea ?

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com