AnsweredAssumed Answered

WAB with proxy 404 error

Question asked by jamesfreddyc on Jun 11, 2018
Latest reply on Jun 13, 2018 by jamesfreddyc

-WAB Developer 2.7

-.jsp proxy

-https

 

I have a WAB deployment that needs to authenticate secured feature services via proxy. Consider:

 

1. I am able to authenticate by clicking directly on a url with the proxy referenced as such:

 

https://domain.com/proxy/proxypage.jsp?https://domain.com/sitename/rest/services/foldername/feature_service_name

 

2. Opening the WAB gives a 404 error.

 

This is what's in the config.json:

"wabVersion": "2.7",
   "isTemplateApp": true,
   "isWebTier": false,
   "httpProxy": {
    "useProxy": true,
    "alwaysUseProxy": false,
    "url": "https://domain.com/proxy/proxypage.jsp",
    "rules": [
     {
      "urlPrefix": "https://domain.com/sitename/rest/services/foldername/feature_service_name/FeatureServer",
      "proxyUrl": "https://domain.com/proxy/proxypage.jsp"
     }
    ]
},

Outcomes