I want my web pages to be served from my server's root directory (/root/.sage) instead of /var/www .
I am using Apache Tomcat
as server on Ubuntu
.
Could anyone please let me know all the steps involved.
Asked
Active
Viewed 98 times
1

Yogesh Seralia
- 340
- 5
- 23

apurv
- 83
- 1
- 2
- 5
-
Use DocumentRoot in a VirtualHost block to point at the directory you need to use. You'll probably also need to make sure Apache can read and write some files. – user2182349 Sep 09 '15 at 12:06
-
Have a look on [Apache Tomcat Configuration Reference](http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) – Yogesh Seralia Sep 09 '15 at 12:11
1 Answers
1
I don't know many details about this, but you may find https://github.com/sagemath/sagenb/pull/328 to be useful.

kcrisman
- 4,374
- 20
- 41