Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
TKendrick20
Partner - Specialist
Partner - Specialist

Shorten Mashup Path by Using URL Masking and Redirect

Not sure if anyone else has tried this, but I need a URL that isn't incredibly long in order to send to clients for this mashup we made recently. It is located at .../extensions/testmashup/testmashup.html and the client is required to sign in.

Does anyone know if editing the .htaccess file on the web server will let me mask and redirect the URL?

So instead of going to https://subdomain.domain.com/extensions/testmashup/testmashup.html the client could instead type https://subdomain.domain.com/testmashup?

I've tried adding this to my htaccess file:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^subdomain.domain.com/testmashup [NC,OR]

RewriteCond %{HTTP_HOST} ^subdomain.domain.com/testmashup [NC]

RewriteRule ^(.*)$ https://subdomain.domain.com/extensions/testmashup/testmashup.html [L,R=301,NC]

But I can't get it to work. Qlik Sense Server is deployed on an Azure VM and the DNS records of one of our websites' subdomains points to the server.

Any help would be greatly appreciated!

2 Replies
ErikWetterberg

Hi Tim,

If your mashup is served by Qlik Sense built-in web server (and by the look of your URL it looks like it is) there is no support for this, so you should probably switch to using another web server (IIS ??).  You need to make some changes to your HTML and javascript files for that, as I have described here: Re: load mashup from other path , but I guess you know that...

Hope this helps

Erik

Ken_T
Specialist
Specialist

does anyone know a way around this?   to get around the certificate issues when attempting to set up a short url for redirecting  to a mashup?