RewriteRule (.*) http://%{HTTP_HOST}:8080/guacamole [R,L]
Make sure the owner of all the file is apache and the group is users.
{{Code|
Code = # chown -R apache .htaccess/var/hda/web-apps/guacamole# chgrp -R users .htaccess/var/hda/web-apps/guacamole
}}