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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 740 views
  • 0 likes
  • 2 in conversation