by aperia » Jun 20 14 3:33 am
I finally got this working, but had to do a little hacking. You cannot edit the BlockPage.html file even after stopping the WinGate service, so I had to hack a bit. First, I stopped the Qbik WinGate Engine service. I opened TaskManager and made sure GateKeeper.exe and WinGate.exe were not running. I created a new file named BlockPage2.html under C:\ProgramData\Qbik\WinGate\WebActivity\BlockPages containing the code I wanted displayed. Then I opened regedit and modified the following REG_SZ value:
HKLM\SOFTWARE\Wow6432Node\Qbik Software\WinGate\WebActivity\Rules\
DefaultBlockPageId = BlockPage2.html
I restarted the WinGate service and continued hacking even though this probably was all I needed to do. However, I didn't want a second html file showing up in all the rules, so I edited the original file, BlockPage.html, with the code I wanted displayed, saved it (it is now editable since the app is not pointing to it), stopped the service, modified the registry value above back to its original value, BlockPage.html, then restarted the service. Done and done.
This is a massive amount of work just to make sure the block page is not overwritten after a time. This would be a great bug fix because I enjoy fiddling with it and making it look the way I want.