First, I want to say that Guacamole is awesome.  I've followed since the very 
early days of development, and just recently dug back into the project.  It's 
fantastic, and I think we have several potential areas to use it across the 
company - between enabling remote desktop connectivity on tablets and ultra 
books, and application delivery, it is proving to be quite useful.

I'm running into one situation, specifically when doing application delivery, 
that I could use some help with.  In this particular instance I have Guacamole 
set up with the No Auth plugin, and am using it to connect to Windows-based 
hosts over RDP.  No credentials are being stored, and the users must 
authenticate with their AD credentials to the Windows system, so it's a pretty 
low-risk scenario for using No Auth.  What I'd really like to do, however, is 
set up specific hostnames that redirect to a Guacamole connection.  I'm using 
Apache to front the HTTP connections and using mod_proxy to connect to Tomcat.  
Let's say my server is guacamole.example.local, but that I want 
<application>.apps.example.local to redirect to 
guacamole.example.local/guacamole/#/client/<connection id>.  I've tried several 
Apache incantations to get this working, and have not stumbled across the 
correct configuration.  My most recent set of configs looks like this:

<VirtualHost *:80>
        ServerName erp.apps.example.local
        ProxyPass / http://localhost:8080/guac/ flushpackets=on
        ProxyPassReverse / http://localhost:8080/guac/
        RewriteRule / "/#/client/SUZTIExpdmUAYwBub2F1dGg=" [NE]
        ProxyPassReverseCookiePath /guac /
</VirtualHost>

So, in that particular example, what I believe should happen is that everything 
destined for erp.apps.example.local should get proxied over to Tomcat and the 
Guacamole URL, and then the request for the / URL should get rewritten to 
connect to the specific configuration URL listed above.  However, this seems to 
just end up taking me back to the home page.  I've also tried the following:

<VirtualHost *:80>
        ServerName erp.apps.example.local
        ProxyPass / 
http://localhost:8080/guac/#/client/SUZTIExpdmUAYwBub2F1dGg= flushpackets=on 
nocanon
        ProxyPassReverse / 
http://localhost:8080/guac/#/client/SUZTIExpdmUAYwBub2F1dGg= nocanon
        ProxyPassReverseCookiePath /guac /
</VirtualHost>

This was my original scenario, and I was hoping this would allow for 
erp.apps.example.local to just be entered with no additional trailing URL data, 
and autoamtically make the connection, but that doesn't seem to work, either.

Any hints for me, here?  Is what I'm trying to accomplish possible?

Thanks,
Nick

==
This e-mail may contain SEAKR Engineering (SEAKR) Confidential and Proprietary 
Information. If this message is not intended for you, you are strictly 
prohibited from using this message, its contents or attachments in any way. If 
you have received this message in error, please delete the message from your 
mailbox. This e-mail may contain export-controlled material and should be 
handled accordingly.

Reply via email to