<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Apache Internal rewrite in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Apache-Internal-rewrite/m-p/433305#M9300</link>
    <description>&lt;P&gt;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.&amp;nbsp; However, we would also like to implement an internal rewrite so that the user is not shown the URL.&amp;nbsp; 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:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;RewriteEngine on
RewriteRule   "^/$"  "/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true"  [NC,PT]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, when a user browses to:&lt;BR /&gt;&lt;A href="http://server.dns.com/" target="_blank"&gt;http://server.dns.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;they are redirected to:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.dns.com/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true" target="_blank"&gt;http://server.dns.com/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It is treated like an external redirect and the users browsers show the full URL&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 22:19:01 GMT</pubDate>
    <dc:creator>DumDum</dc:creator>
    <dc:date>2018-02-01T22:19:01Z</dc:date>
    <item>
      <title>Apache Internal rewrite</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Apache-Internal-rewrite/m-p/433305#M9300</link>
      <description>&lt;P&gt;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.&amp;nbsp; However, we would also like to implement an internal rewrite so that the user is not shown the URL.&amp;nbsp; 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:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;RewriteEngine on
RewriteRule   "^/$"  "/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true"  [NC,PT]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, when a user browses to:&lt;BR /&gt;&lt;A href="http://server.dns.com/" target="_blank"&gt;http://server.dns.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;they are redirected to:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.dns.com/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true" target="_blank"&gt;http://server.dns.com/SASVisualAnalyticsViewer/guest.jsp?reportName=MENU&amp;amp;reportPath=/PROD/&amp;amp;reportViewOnly=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It is treated like an external redirect and the users browsers show the full URL&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 22:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Apache-Internal-rewrite/m-p/433305#M9300</guid>
      <dc:creator>DumDum</dc:creator>
      <dc:date>2018-02-01T22:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Internal rewrite</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Apache-Internal-rewrite/m-p/435276#M9378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;To diagnose it I think you should use browser web developer tools. That way you could see all requests send and received.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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&amp;nbsp; request will be send, and that does not fall into your rule anymore.&lt;/P&gt;
&lt;P&gt;Maybe creating custom index page on SAS Web Server with iframe would work for you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Jan Alboszta&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Apache-Internal-rewrite/m-p/435276#M9378</guid>
      <dc:creator>spljaa</dc:creator>
      <dc:date>2018-02-08T14:59:56Z</dc:date>
    </item>
  </channel>
</rss>

