Page 1 of 1

How can customize or redirect page http forbidden in server.

Posted: Wed Apr 01, 2015 7:37 pm
by Elio06023
Hello,
I have SoftEther VPN Server on a pc, and client installed on a laptop. The server listens on port 443 (https://example.com). Everything works fine, but when someone comes to visit https://example.com from a browser, a page is displayed denying entry:

Forbidden
You don't have permission to access / on this server.
----------------------------------------------------------
HTTP Server at xxx.xxx.xxx.xxx Port 443

My question is: how I can customize this page or redirect to another site?

Re: How can customize or redirect page http forbidden in ser

Posted: Thu Apr 16, 2015 6:16 am
by thisjun
Please use another port.

Re: How can customize or redirect page http forbidden in ser

Posted: Fri Apr 17, 2015 4:23 pm
by Elio06023
I do not want to use another port because the company I work only allow use http and https protocol (80 and 443). The VPN works fine by 443, and the server has nothing listening for the 443 (except softether server), but I wish to personalize the page that mentioned above for the "curious intruders". I think if the SoftetherServer can display that page as if it were a web server, then it should be possible to show another page instead of that.

Re: How can customize or redirect page http forbidden in ser

Posted: Thu Apr 30, 2015 8:01 am
by thisjun
If you want to customize the page , you have to edit source code and compile.