I just set up a server instance of RStudio on our Language Lab server (running Ubuntu 11.04). I tried following the instructions here, but I was a bit confused where to add the proxy configuration. It turns out you will need to add it to your
So you fire up the terminal and type …
$ sudo pico /etc/apache2/sites-enabled/000-default
Once in the file skim down to the bottom, and add …
<Proxy *> Allow from localhost </Proxy> ProxyPass / http://localhost:8787/ ProxyPassReverse / http://localhost:8787/
Before the closing
This will allow you to connect to your server at
You can get creative and add a custom directory, so you can access the RStudio server at
http://<yourserver.com>/rstudio. Just change the above proxy configuration with:
<Proxy *> Allow from localhost </Proxy> ProxyPass /rstudio/ http://localhost:8787/ ProxyPassReverse /rstudio/ http://localhost:8787/ RedirectMatch permanent ^/rstudio$ /rstudio/
You can replace
rstudio with whatever name you want.
Another piece of useful information. If you plan on having multiple users have access to the server at the same time, and you want them to be able to have separate sessions you will need to add them as users at the system level. The following documentation give some instructions.