BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
osmelbrito
Obsidian | Level 7

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:

 

hostname.domain.com/SASPortal, and we want to change to hostname.domain.com/NewPortal, is it possible to do it?

We have tried it, and we got the following error:

HTTP Status 404 – Not Found

1 ACCEPTED SOLUTION

Accepted Solutions
osmelbrito
Obsidian | Level 7

this could be a solution but it didn't work for us.

 

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

View solution in original post

2 REPLIES 2
Anand_V
Ammonite | Level 13

Hi @osmelbrito 

 

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.

 

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.

 

ProxyPass /NewPortal http://hostname:7980/SASPortal
ProxyPassReverse /NewPortal http://hostname:7980/SASPortal

Reference URL: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html

osmelbrito
Obsidian | Level 7

this could be a solution but it didn't work for us.

 

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

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Discussion stats
  • 2 replies
  • 1792 views
  • 3 likes
  • 2 in conversation