h2020-westlife-eu / virtualfolder

Virtual Folder
http://internal-wiki.west-life.eu/w/index.php?title=D6.1
MIT License
1 stars 0 forks source link

Install and/or integrate other software into VM #40

Closed TomasKulhanek closed 7 years ago

TomasKulhanek commented 7 years ago
TomasKulhanek commented 7 years ago
  1. edit ~/.jupyter/jupyter_notebook_config.py
  2. edit apache.httpd.conf to add these proxy settings (example with redirecting to port 8952)
    
    <Location /vfnotebook/webdav/vagrant >
    # RequestHeader set Host ""
    ProxyPreserveHost On
    ProxyPass "http://localhost:8952/vfnotebook/webdav/vagrant"
    ProxyPassReverse "http://localhost:8952/vfnotebook/webdav/vagrant"
    </Location>
    <Location /vfnotebook/webdav/vagrant/api/kernels/>
    ProxyPass ws://localhost:8952/vfnotebook/webdav/vagrant/api/kernels/
    ProxyPassReverse ws://localhost:8952/vfnotebook/webdav/vagrant/api/kernels/
    </Location>