Post

1 follower Follow
0
Avatar

RStudio Server w/ Reverse Proxy + authentication

Trying to evaluate RStudio Server for our group of data scientists.

I've got it installed and running, and configured Apache as a reverse proxy.

The problem I'm having is that when I go to:

http://<serveraddress>/rstudio/

I get a 404 as the app is trying to redirect to /auth-sign-in. When I manually correct this and go to:

http://<serveraddress>/rstudio/auth-sign-in

The login form loads, it seems to submit and authenticate, but authentication, it redirects to /, which goes to a different app, instead of /rstudio/

Anyone know a simple fix for this?

This is what we've added to the httpd.conf:

ProxyPass        /rstudio/ http://localhost:8787/
ProxyPassReverse /rstudio/ http://localhost:8787/
RedirectMatch permanent ^/rstudio$ /rstudio/

Thanks!

Jim Klo