I have setup a JasperReports server behind a proxy (using Apache http-server V2.4 using mod_proxy). The proxy is using a prefix to the uri-path (/app1/jasperserver) while the tomcat is not using the prefix (the tomcat is serving the jasperreports under /jasperserver). To configure this, I used the description from the JasperReports Server Administrator Guide Release 5.6.1 chapter 9.2 on page 176. My config looks as follows:
ProxyPass /app1/jasperserver http://localhost:8081/jasperserver
ProxyPassReverse /app1/jasperserver http://localhost:8081/jasperserver
The setup is as follows:
request (/app1/jasperserver) ==> Apache 2.4 (port 80) ==> request (/jasperserver) ==> Tomcat (port 8081)
As far as I analysed that so far, the problem here is that the config entry "deploy.base.url" in "js.config.properties" is not used as described.