Say you want to change Apache Guacamole’s URL from http://server:8080/guacamole to something like http://server:8080/my-hidden-guacamole-instance (or perhaps you’re using nginx to proxy requests to Guacamole / Tomcat and you don’t want any path at all).
- Stop Tomcat web server (typically using a command like:
service tomcat8 stop
) - Navigate to Tomcat’s
webapps/
directory (typicallycd /var/lib/tomcat8/webapps/
). Among other things inside you will findguacamole.war
. - Backup and then delete
guacamole
directory (NOTguacamole.war
) - Two options, depending on how you want your Guacamole URL to look like:
- If you want to change
/guacamole
to/my-hidden-guacamole-instance
, renameguacamole.war
tomy-hidden-guacamole-instance.war
.
- If you want to change
/guacamole
to/
(no path), first — renameROOT
directory to something likeROOT_OLD
(or just remove it). Then, renameguacamole.war
toROOT.war
- If you want to change
- Start Tomcat. A new directory will be created inside
webapps/
with the same name as the .war file.