You are not logged in.
I have an apache install running owncloud flawlessly. I have also installed guacamole. It's also working flawlessly, but uses tomcat8. Guacamole documentation explains how to connect apache with tomcat, so you can have apache servicing all requests (and have both services on the same port). But instructions are not detailed (i.e. not noob friendly).
What I want is owncloud to be accessed when I type "https://<url>" (as it's working right now), and guacamole to be accessed when I type "https://<url>/guacamole". These are the steps I followed while trying it:
1.- Ensure a tomcat connector is defined in /etc/tomcat8/server.xml:
<Connector port="8009" protocol="AJP/1.3"
URIEncoding="UTF-8" redirectPort="8443" />2.- Configure Apache to forward traffic to tomcat using AJP. First I edited /etc/httpd/conf/httpd.conf to make sure AJP is enabled and a new config file with redirection related config is added:
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
[...]
Include conf/extra/guacamole.conf3.- Then edited the config file newly created (/etc/httpd/conf/extra/guacamole.conf):
<Location /guacamole/>
Order allow,deny
Allow from all
ProxyPass ajp://localhost:8009/guacamole/ max=20 flushpackets=on
ProxyPassReverse https://<url>/guacamole/
</Location>Restarted tomcat8 and httpd, and tried accessing https://<url>/guacamole. Unfortunately it spits 404 errors (from /var/log/httpd/access_log):
<hidden> - - [16/Feb/2015:13:36:35 +0100] "GET /guacamole HTTP/1.1" 404 1102Accessing https://<url> works, and the owncloud login screen appears as expected.
I suppose I'm missing some obvious steps that are not mentioned in guacamole documentation (maybe something like creating another virtual server or the like)... Any suggestions?
Offline