<?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 Re: Change default URL for SAS Web application in Architecture</title>
    <link>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/697040#M269</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26078"&gt;@osmelbrito&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you haven't specified which SAS platform version you are asking for (9.x, Viya), I will share my experience with 9.x, to be specific 9.4 Mx onwards. During the configuration phase, you can specify context root for some of the web applications. I have seen it with SAS VA, Studio etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your environment is already installed and configured you can also create a simple reverse proxy change in the httpd.conf file of SAS Web Server and restart for the changes to take effect. You can also add this change to sas.conf file however during upgrades or hot-fixes it can be overwritten.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ProxyPass /NewPortal http://hostname:7980/SASPortal
ProxyPassReverse /NewPortal http://hostname:7980/SASPortal&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reference URL:&amp;nbsp;&lt;A href="https://httpd.apache.org/docs/2.4/mod/mod_proxy.html" target="_blank"&gt;https://httpd.apache.org/docs/2.4/mod/mod_proxy.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 04:11:37 GMT</pubDate>
    <dc:creator>AnandVyas</dc:creator>
    <dc:date>2020-11-06T04:11:37Z</dc:date>
    <item>
      <title>Change default URL for SAS Web application</title>
      <link>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/696992#M268</link>
      <description>&lt;P&gt;We want to change the default URL for SAS Web applications to an easy one. For example, if I have this url to access to the web, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hostname.domain.com/SASPortal, and we want to change to hostname.domain.com/NewPortal, is it possible to do it?&lt;/P&gt;
&lt;P&gt;We have tried it, and we got the following error:&lt;/P&gt;
&lt;H1&gt;HTTP Status 404 – Not Found&lt;/H1&gt;</description>
      <pubDate>Thu, 05 Nov 2020 21:34:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/696992#M268</guid>
      <dc:creator>osmelbrito</dc:creator>
      <dc:date>2020-11-05T21:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change default URL for SAS Web application</title>
      <link>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/697040#M269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26078"&gt;@osmelbrito&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you haven't specified which SAS platform version you are asking for (9.x, Viya), I will share my experience with 9.x, to be specific 9.4 Mx onwards. During the configuration phase, you can specify context root for some of the web applications. I have seen it with SAS VA, Studio etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your environment is already installed and configured you can also create a simple reverse proxy change in the httpd.conf file of SAS Web Server and restart for the changes to take effect. You can also add this change to sas.conf file however during upgrades or hot-fixes it can be overwritten.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ProxyPass /NewPortal http://hostname:7980/SASPortal
ProxyPassReverse /NewPortal http://hostname:7980/SASPortal&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reference URL:&amp;nbsp;&lt;A href="https://httpd.apache.org/docs/2.4/mod/mod_proxy.html" target="_blank"&gt;https://httpd.apache.org/docs/2.4/mod/mod_proxy.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 04:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/697040#M269</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-11-06T04:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change default URL for SAS Web application</title>
      <link>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/697680#M270</link>
      <description>&lt;P&gt;this could be a solution but it didn't work for us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At last, what work for us, it was, after change properties in metadata, we rebuild web applications and redeploy them using SAS Deployment Manager and it recognized new customized url&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 18:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Change-default-URL-for-SAS-Web-application/m-p/697680#M270</guid>
      <dc:creator>osmelbrito</dc:creator>
      <dc:date>2020-11-09T18:05:21Z</dc:date>
    </item>
  </channel>
</rss>

