Welcome! Log In Create A New Profile

Advanced

website with login button, redirect to intranet?

June 06, 2014 09:07PM
Hi everyone,

I would like to check whether this is possible with nginx (on ubuntu 12.04 LTS 64 bits).

I have a website

www.mywebpage.com.my

this is just another website.

There is a login button. When someone click on this login button, it would redirect them to https://erp.mywebpage.com.my. However, there are 2 scenarios will happen:-
- if you are connected to our secure VPN (via OpenVPN), this redirection would be successful.
- if you are not connected to the secure VPN (means the user doesn't have any access), then it will show "you are not authorised to view this page". This message should appear within www.mywebpage.com.my.

FYI

www.mywebpage.com.my - hosted on a public facing VPS (outside office)

erp.mywebpage.com.my - hosted at my office server (once connected to the secure VPN, it is as if accessing via intranet)

Is this possible and any suggestions to make this work?

Thanks.
Subject Author Posted

website with login button, redirect to intranet?

ericmachine June 06, 2014 09:07PM

Re: website with login button, redirect to intranet?

Lord Nynex June 07, 2014 12:54AM

Re: website with login button, redirect to intranet?

ericmachine June 07, 2014 10:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready