editing http 403 forbidden page for wingate proxy

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

editing http 403 forbidden page for wingate proxy

Postby liverpoolatnight » Feb 03 09 5:01 am

Hi

Dos anyone know where i can edit the http 403 forbidden page into

Access is denied
liverpoolatnight
 
Posts: 6
Joined: Jan 30 09 4:40 am
Location: Liverpool

Re: editing http 403 forbidden page for wingate proxy

Postby adrien » Feb 03 09 9:46 am

Hi

There are 2 editable parts to most error messages in the WWW proxy. A title, and a message. These can be altered by editing the registry.

The key is HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate\ErrorStrings\HTTP

value: AccessDeniedTitle (REG_SZ). The title of the error used when access is denied
value: AccessDeniedDescription (REG_SZ). The message.

These 2 are combined into an HTML response sent when access is denied. They are combined using a H1 tag for the title, and the message is bare in the HTML body. This means you can't really edit the title much, nor put in any styles or script. The body you can set to any HTML you like, excluding body and html tags.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: No registered users and 15 guests

cron