BookmarkSubscribeRSS Feed
DumDum
Calcite | Level 5

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:

RewriteEngine on
RewriteRule   "^/$"  "/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&reportPath=/PROD/&reportViewOnly=true"  [NC,PT]

However, when a user browses to:
http://server.dns.com/

they are redirected to:

http://server.dns.com/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&reportPath=/PROD/&reportVie...


It is treated like an external redirect and the users browsers show the full URL

1 REPLY 1
spljaa
SAS Employee

Hello,

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?

 

Regards

  Jan Alboszta

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1158 views
  • 0 likes
  • 2 in conversation