Trying to upload a web page on CAS server

Accepted Solution Solved
Reply
Contributor
Posts: 29
Accepted Solution

Trying to upload a web page on CAS server

Hello,

 

I am using PDC image to get familar with sas viya. And the CAS server URL is "sasserver.demo.sas.com" then. 

 

I am trying to use angularjs to get access to the data on CAS server that I have already saved, then I need to upload my html files somewhere on the server so I can get access to. I created a new file folder called"test" by sasstudio in /home/sasdemo, and upload my html files there. But I found I cannot open it by "sasserver.demo.sas.com/home/sasdemo/test/test.html".

 

Do you know if there is a way to upload my html file on the server so that I can get access to my web page through URL?


Accepted Solutions
Solution
‎09-12-2017 03:55 PM
SAS Employee
Posts: 240

Re: Trying to upload a web page on CAS server

@xiaoys0725,

 

For an example, if you have created a file with name /var/www/test/test.html, then the URL will be sasserver.demo.sas.com/test/test.html

View solution in original post


All Replies
SAS Employee
Posts: 240

Re: Trying to upload a web page on CAS server

@xiaoys0725,

 

Only in /var/www/html. Please note that you need to have root (or sudo) access to the server in order to write files to this directory.

Contributor
Posts: 29

Re: Trying to upload a web page on CAS server

Hi,

 

May I ask after I uploaded that what is the URL of the web page then? 

 

Btw I don't know why I cannot open "sasserver.demo.sas.com"(excatly this link) , I received a 503 Error. 

Solution
‎09-12-2017 03:55 PM
SAS Employee
Posts: 240

Re: Trying to upload a web page on CAS server

@xiaoys0725,

 

For an example, if you have created a file with name /var/www/test/test.html, then the URL will be sasserver.demo.sas.com/test/test.html

Contributor
Posts: 29

Re: Trying to upload a web page on CAS server

SAS Employee
Posts: 240

Re: Trying to upload a web page on CAS server

@xiaoys0725,

 

You are welcome. I'm glad that the problem has been resolved.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 185 views
  • 0 likes
  • 2 in conversation