I'm trying to use apache2 to reverse proxy a connection to my router config from the outside world, but I'm having some trouble getting it to work.
If I access my reverse proxy url: https://router.domain.com, the login page comes up just fine. However, if I put in the correct user/pass, it just reloads the login page.
Interestingly, if I access the router config locally, via 192.168.1.1, and put in the wrong password, it gives me the following response:
However, if I do the same thing via my reverse proxy, I get:
I have no idea why the response is different. The requests are being sent the same, though I can't say exactly how the reverse proxy modifies it. I see no errors in my apache2 logs, and nothing in the router logs to speak of.
Anyone have any ideas how to debug this?
If I access my reverse proxy url: https://router.domain.com, the login page comes up just fine. However, if I put in the correct user/pass, it just reloads the login page.
Interestingly, if I access the router config locally, via 192.168.1.1, and put in the wrong password, it gives me the following response:
HTML:
<HTML><HEAD>
<script>parent.location.href='/Main_Login.asp';</script>
</HEAD></HTML>
However, if I do the same thing via my reverse proxy, I get:
HTML:
<HTML><HEAD><script>top.location.href='/Main_Login.asp';</script>
</HEAD></HTML>
I have no idea why the response is different. The requests are being sent the same, though I can't say exactly how the reverse proxy modifies it. I see no errors in my apache2 logs, and nothing in the router logs to speak of.
Anyone have any ideas how to debug this?