by adrien » Jan 06 07 11:26 am
Hi
The reason that .log files used to show correctly was that there was a hack in the code that when serving a file, if it was a .log file, it would prepend an HTML tag <PRE> to it.
This had to be removed for obvious reasons, since we can't be polluting files with HTML tags that they didn't contain if WinGate is to be used to serve files other than its own log files.
Just looked in the code - looks like someone thought it was also a good idea to set the mime type to text/html. That's a bug. You can get around that by overriding it in the registry.
HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate\MimeTypes
Add a string entry called "log", and value "text/plain".
Adrien