Mask WebApp URL
-
Hi there
Please spare my ignorance on this regards. Am new to this tool and hence this query.
Is there any possibility wherein we could mask the URL with /webapp/ and have the final URL as say https://demo.<domainname>.com? We are running the test instance on Apache.
Please advise.
-
Hi @ParsecSolutions
Yes this is possible in apache.
The standard webapp config comes with an “Alias /webapp /usr/share/kopano-webapp”.
I simply created a new apache config and configured /usr/share/kopano-webapp as DocumentRoot.Now i can access the webapp without the /webapp/ at the end of the URL.
Kind regards
Basti -
@sebschremser Thanks for your reply. But this didn’t work and apache server failed to restart. Please help
-
Hi @ParsecSolutions
Can you post your apache config?
Without the config, nobody can tell you why your apache don’t start anymore.Which version of the webapp do you use?
Kind regards
Basti -
This post is deleted! -
@sebschremser Pasting my conf file
kopano-webapp-apache2.conf
<VirtualHost *:80>
DocumentRoot “/usr/share/kopano-webapp”
ServerName <<domainname>></VirtualHost>
<VirtualHost *:443 >
ServerName <<domainname>>
UseCanonicalName Off
Alias /webapp /usr/share/kopano-webapp