I asked about this earlier. But didn't really find a solution.
The issues we see are problems with accessing the site when already logged in - and also access rights seem not to work if we use the "human friendly" url. All this is probably due to our attempt to set up the redirection.
Hi John - the URL you have above is the direct link to the authenticated app (/secure) so it assumes it's an app that requires authentication. If you app has both anon and authenticated or just anon, it's probably best to use the general URL for the app and then it will redirect or ask the user (/landing):
I would like to let the user point at the "root" domain name and have the site open correctly (with the full url) - like setting "homepage" on the internet site document. In this case I could just distribute the domain name (or in this case subdomain name) and then let the internet site config "know" where that is in the volt environment...
I would also like to loose some of the "details" that are irrelevant to the user (like we do on many other web sites where we "hide" the path by using substitution rules). But I guess the simple website name is the most important
This site is only for authenticated users - but I'll assume that we will also come across the combination that you mention.
I think the only way to do that would be through the HTTP Redirect rules where something like https://app1.ourserver.dk would redirect to the full Volt URL for app 1 and https://app2.ourserver.dk would point to another application and so on.
This could get cumbersome though as the number of applications grows as you'd need a rewrite/redirect rule in your HTTP server for each application.
I could see this as an interesting Aha Idea for the idea portal where an admin could create a "friendly" URL that Volt would handle and redirect.
May I suggest to post it here?: https://domino-ideas.hcltechsw.com/?project=VOLT
I'll have a little play with the website redirect rule to see if I can make it work under the "same" subdomain. Right now I have "solved" it by redirecting to the "official" Volt url from the subdomain site - but then the user will be aware that there is another "site" which ideally they should not think about....
Hmmmm.... NO, that does NOT work... It seems that running the exact same url under a different subdomain fails when the user wants to update data...!!!
Why is that? And is this working as designed....???
Just to be sure everybody understands. I have two sites pointing at the exact same server:
volt.myvoltserver.com
app1.myvoltserver.com
So using http://app1.myvoltserver.com/volt-apps/secure/org/app/92e85711-f100-4044-873a-e2c98ff2acf3/viewdata/index.html the user CANNOT save the data. But using http://volt.myvoltserver.com/volt-apps/secure/org/app/92e85711-f100-4044-873a-e2c98ff2acf3/viewdata/index.html saving data works fine....
Are you using a redirect or a rewrite? Redirect should send it to the volt.myvoltserver.com when the user goes to app1.myvoltserver.com, correct? Versus a rewrite that it stays the same in the browser
I have not been able to get a rewrite (i.e. substitution rule) to work...
Without any redirect I'm just trying to run the app using the "alias" subdomain name - rest of the url is exactly the same.... Not sure where Volt would save information about the server's domain name itself? It really doesn't make sense that you're bound to work on the same server name as you develop...
In the Volt Configuration there is a setting for the base URL of the server. I assume, you cannot have your Volt apps run with urls, which don't start with the base URL configurated there.