The Knowledge Base Article: 49698 details how to make the login process more secure by restricting all TeamSite requests to https.
According to the article this is achieved by adding the following lines to the `iwgethome`/iw-webd/conf/rewrite.conf.template file and do an iwreset -ui to make the changes take effect:
RewriteCond %{SERVER_PORT} =__IWWEBD_HTTP_PORT__ [OR]
RewriteCond %{HTTP_HOST} =__IWWEBD_HOST__
RewriteRule (.*)
https://__IWWEBD_HOST__lithium_IWWEBD_HTTPS_PORT__$1 [R,L]
However theres one vague thing in the article that is where in the file are the new lines to be placed.
The article says:
"The solution to make this happen is very straight forward, just add the following lines to the `iwgethome`/iw-webd/conf/rewrite.conf.template file. Add these before and other "RewriteRule" entries. Make sure to edit the template file (not rewrite.conf). Run "iwreset -ui" to restart the web server and you should be in business (securely)."
" Add these before and other "RewriteRule" entries " ???? What does this mean ? Does this mean that the new lines should be added before the first "RewriteRule" already in the file ?? I tried that but it did`nt work.
Can someone explain exactly where these new lines should be placed in the rewrite.conf.template file?
Are there any other settings that will have to be changed for this to work ?
Thanks !
IWOV Consultant