I make this and for me it's work, but I can't redirect to https (don't have it) . Redirect to other else is OK I think is good to add this in your code:  If (RedirectURL <> RedirectAtStartUp) then begin, may be will help. You use lowercase () but this can make sometrouble did you try with  my way? uniServerModule var RedirectURL: String;   //redirect to SettingsList.Values ['RedirectAtStartUp'] if (RedirectAtStartUp <> '') then begin     REQ:= UniSe