On Thu, Aug 8, 2024 at 2:53 PM Horváth Csaba <horvathcsabalas...@gmail.com>
wrote:

> Hi,
>
> I have been moving my home server's app section (virtualhost in
> Apache) behind an  OpenID login, because until now, it was only
> .htpasswd used on that.
> OpenID Connect login works well, but  i needed to move the Guacamole
> directory (among others) to a new location (from the / of the
> virtualhost to a subdir : /apps).
> And now i found out that the Guacamole only works from the
> Documentroot/guacamole :D
>
> Relevant config :
>
> JkMount /guacamole ajp13_worker #this was working before, and when i
> change the path to /apps/guacamole, it throws a 404, but that's from
> the Tomcat
>
>
Wow, I haven't used JkMount and AJP in a long, long time. If you want to do
this, I suspect that you need to adjust the worker.properties file in some
way to change the path specification, but it's been too long for me to
remember how to do that.


> #ProxyPass /apps/guacamole http://localhost:8080/guacamole    #i get
> an error 500 with this, maybe from the Apache - and the directory
> cannot be seen on the directory listing
>
>
This should work without issue - you should probably dig into the logs of
Tomcat and see why you're getting the 500-level error.


> ...the http://serveripaddress:8080/guacamole works well, so no problem
> with the Guacamole itself.
>
> Is there any solution for running Guacamole from a subdirectory?
>
>
Yes, it definitely works. Make sure you're following the Proxying Guacamole
documentation in the manual

https://guacamole.apache.org/doc/gug/reverse-proxy.html

-NIck

Reply via email to