Hiawatha version: 9.8
Operating System: CentOS 6
I found some issues (bugs?) in Hiawatha 9.8 (possible in previous version also):
A. Relate to Polarssl:
1. Compile to rpm (in CentOS) always refer to built-in polarssl library (library inside Hiawatha source)
2. If want using system's polarssl, delete /usr/lib/hiawatha directory and install polarssl rpm
I used this trick inside hiawatha.spec (execute 'cmake' and then delete /usr/lib/hiawatha). It's because 'USE_SYSTEM_POLARSSL:BOOL=ON' still not work.
B. Relate to .hiawatha
1. Create .hiawatha in website docroot and insert UrlToolkit make 'Error 502' in website:
UrlToolkit {
ToolkitID = wordpress
RequestURI exists Return
Match .*\?(.*) Rewrite /index.php?$1
Match .* Rewrite /index.php
}
UrlToolkit {
ToolkitID = redirect
#RequestURI exists Return
Match ^/kloxo(/|$) Redirect https://kloxomr7.mratwork.com:7777/$1
Match ^/kloxononssl(/|$) Redirect http://kloxomr7.mratwork.com:7778/$1
Match ^/webmail(/|$) Redirect http://webmail.kloxomr7.mratwork.com/$1
Match ^/cp(/|$) Redirect http://cp.kloxomr7.mratwork.com/$1
}
## MR -- still appear 'error 502' with enable/disable UseToolkit
UseToolkit = wordpress, redirect