Hi,

Got it working right after i sent the mail.A slash was missing from
the end of the path.

ProxyPass /apps/guacamole/ http://localhost:8080/guacamole/

I never thought i will need to proxy anything on the home server,
while all stuf is running in place :D

But the guacamole directory is still missing from Apache's autoindex
directory listing :D It's strange. All others are there, and if i
enter the path of guacamole, it works. The permissions are OK on the
directory, and in the Tomcat root also.

Thanks,

Cs.




Nick Couchman <vn...@apache.org> ezt írta (időpont: 2024. aug. 8., Cs, 21:34):
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to