Configure a redirect to another QLM License server using a PHP script

The following PHP script can be used to setup a redirect from your server to another QLM License Server.

In the script below, replace with the corresponding value on your target server.

$target_url = ""; // qlmlicenseserver/qlmservice.asmx
$self_location = str_replace($_SERVER['DOCUMENT_ROOT'], "", __FILE__);
$new_uri = str_replace($self_location, $target_url, $_SERVER['REQUEST_URI']);
header("Location: " . $new_uri, true, 302);

Last updated