Mobile app version of vmapp.org
Login or Join
Sherry384

: Rstudio Apache2 reverse proxy sends me back to index.php after sign-in I'm trying to set up an Apache2 reverse proxy to access another machine at home. I've got the Apache 000-default.conf set

@Sherry384

Posted in: #Apache2 #ReverseProxy

I'm trying to set up an Apache2 reverse proxy to access another machine at home. I've got the Apache 000-default.conf set up as follows:

<VirtualHost *:80 *:443>
ProxyPreserveHost On

# Servers to proxy the connection, or;
# List of application servers:
# Usage:
# ProxyPass / [IP Addr.]:[port]/
# ProxyPassReverse / [IP Addr.]:[port]/
# Example:
ProxyPassMatch ^/rstudio/p/([0-9]+)/(websocket|.*/websocket)/$ ws://192.168.1.2:8787/p///
ProxyPass /rstudio 192.168.1.2:8787 ProxyPassReverse /rstudio 192.168.1.2:8787 RedirectMatch permanent ^/rstudio$ /rstudio

ServerName archBox




There are two issues:


If you browse to the page that is supposed to pass to the RStudio server (here). However, if you browse to the RStudio sign-in page directly, you get the correct page. Why isn't it pulling that page up on its own? If I browse to localhost:8787 on the RStudio machine, the sign-in page is loaded.
If I sign in using the sign-in page, after manually typing in the URL, I'm just redirected back to imspatial.me. I can't seem to figure out why.


Any ideas?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Sherry384

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme