by ChrisH » Nov 15 03 9:40 am
Hello,
If you uncheck the option "Show friendly HTTP error messages" in IE (by going to Tools, Internet options, Advanced then under the "Browsing" heading, scroll down to the option) then go to restricted page again, you should see in browser, a message from WinGate saying ;
Access Denied
File not found or access denied
This is an html file that WG sends to your browser. If you want, you can make up your own "access denied" html page and store it in a shared directory that all clients can access and then have WG display it.
To change the html page you want to be displayed, you must edit part of the Qbik entries in Windows registry. If you are going to attempt to do so, I urge you to take all necessary backup precautions so things don't accidentally get screwed up. Make a copy of Qbik registry- in GateKeeper go to Options, Advanced then click on Save Registry Settings, even backup entire registry, or if OS allows it, make a restore point.
Open the registry, go to HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\Wingate\Error Strings\HTTP and change the "AccessDeniedDescription" key to (but surround it with <> so it is HTML):
META HTTP-EQUIV="Refresh" CONTENT="5; URL=your_redirected_web_page.htm"
of course, instead of your_redirected_web_page put the html page you created - include the shared path. Also you could change under the same registry path the following key "AccessDeniedTitle" to
You shouldn't be here!
(or whatever). The 5 is just the length of time in seconds before the page will be redirected, so you can change that as well if needed. Now whenever a client is trying to access restricted web page they will see first for 5 seconds the message You shouldn't be here! then be redirected to the page you created. If you want to go directly to page, change the time to 0.
This page will also be displayed if you have a time restriction in place and client is attempting to access during resticted time.
Chris H.