You need to enable the metarefresh module before this script can be used. You can enable it by running the following command: echo >"/home/lms/public_html/simplesamlphp/modules/metarefresh/enable"