We are attempting to create a portal for our users by presenting them with a menu which has report links for the various areas and functions. However, we would also like to implement an internal rewrite so that the user is not shown the URL. We have modified Lev1\Web\WebServer\conf\sas.conf to include our own site specific configurations and have been successful for the most part by having:
RewriteRule "^/$" "/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&reportPath=/PROD/&reportViewOnly=true" [NC,PT]
To diagnose it I think you should use browser web developer tools. That way you could see all requests send and received.
I think the cause of observed behaviour is that your first request is indeed "/" and it gets proxied to /SASVisualAnalytics. However next redirect is to /SASLogon and then after confirming guest access I expect /SASVisualAnalytics/guest.jsp request will be send, and that does not fall into your rule anymore.
Maybe creating custom index page on SAS Web Server with iframe would work for you?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.