NetScaler does not rewrite some URLs via CVPN from "/URL" to "/cvpn/URL". If we manually change the URL in the browser it will work.
Created responder policy to check for the URL and respond with edited URL:
Policy expression to check for: HTTP.REQ.URL.CONTAINS("/nsg/") && !(HTTP.REQ.URL.CONTAINS("/cvpn/http")
Action expression: "https://"+http.REQ.HEADER("Host").HTTP_HEADER_SAFE+ " /cvpn/https/abc.com/nsg" + http.REQ.URL.PATH_AND_QUERY.HTTP_URL_SAFE
Responder Policy
Responder Action
NetScaler is unable update the internal URL in js file.