How can customize or redirect page http forbidden in server.

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Elio06023
Posts: 2
Joined: Wed Apr 01, 2015 7:18 pm

How can customize or redirect page http forbidden in server.

Post by Elio06023 » Wed Apr 01, 2015 7:37 pm

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?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

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

Post by thisjun » Thu Apr 16, 2015 6:16 am

Please use another port.

Elio06023
Posts: 2
Joined: Wed Apr 01, 2015 7:18 pm

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

Post by Elio06023 » Fri Apr 17, 2015 4:23 pm

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.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

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

Post by thisjun » Thu Apr 30, 2015 8:01 am

If you want to customize the page , you have to edit source code and compile.

Post Reply