-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris,
On 1/23/15 10:40 AM, Chris Arnold wrote: >> What you want is: > >> JkMount /share2/* worker1 > >> or maybe: > >> JkMount /share2/* balancer > >> workers.properties defines the workers (target host/port, >> connection options, etc.) and the JkMount directives in >> httpd.conf map URL patterns to those workers. > > So JkMount /* proxied everything and we only need > https://share2.xxxx.xxx proxied to https://share2.xxxx.xxx/share. *sigh* If you only want to proxy for one VirtualHost, then only set up JkMounts in that one VirtualHost. Like this: <VirtualHost *:80> ServerName share2.xxxx.xxx JkMount /* worker1 (or "balancer", whichever you want) </VirtualHost> If you want to map / to /share it's a giant pain in the neck and I don't think you will actually be able to accomplish. Best to proxy /share to /share, or, better yet, re-name your application to ROOT.war and proxy "/" to "/". > So now i have a "new" workers.properties: > > worker.list=worker1 worker.worker1.type=ajp13 > worker.worker1.host=localhost worker.worker1.port=8009 You should not have needed to change workers.properties. > and the vhost: > > JkMount /share2/* worker1 but this gives a 404 *sigh*: For what URL? > In the workers.properties, worker.worker1.host, does that need to > be share2? Error log: > > [Fri Jan 23 10:35:31.426108 2015] [core:info] [pid 4622] [client > 192.168.123.165:50481] AH00128: File does not exist: > /srv/www/htdocs/share/ That suggests that your proxy configuration is either incorrect or being ignored. Or that your URL isn't what you say it is. If you are trying to reach ".../share2/something", why does the error message say ".../share/"? > That appears to using the default_server.conf of apache since the > doc root is /opt/alfresco/tomcat/webapps/share. Does the doc root > in the vhost need to be set to /opt/alfresco/tomcat/webapps/share? Don't mess with the Tomcat configuration. Basically, stop touching things. What URL can you use to get to the application *without* httpd in the middle? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUwrcUAAoJEBzwKT+lPKRYtL4QAL3LUR4oZptkyCXtZ9rw6dmP rZlF2lXu1XGR3SIuQ4pM46JgcTI8EKiDTcFkUngiqAxVQluALyHshju0mxgdCQ4r MFEWpRdyJasGRHhoLogaahMZKvCKUsdMmDRYNqElnqiSaSV2RaoJpVO+vWsWI7xT f8GcrKg1TGImZFeWMyJznJ8gDjOeecWlU83l2k4ZtkV1Js0GwlF5d5kMuoCa5R9+ H82femIJGE+hTHHxlTOSmogt3noVxGkKk/KczSaehVF/28906TTOrECXtd14nmn4 T2j3sqvPvp0Pom14eecEDaT8Dz23BsfAmJCl17v04N9AN13dwveClgQROQAZ31Ph +8DmRTvDSCj48Gd0qjIYFTsf14LUBp0F8PyYC+oFPGhDq86eZ6c7aK7Sy7/Jm/d1 riVkTQZFaVHY4MXHxzN0AT0TZn2v6r7XC7NRAfkJeuhptzDlP7ePhyZSeP3awJrt nKGrcJTGacGuVsFkUgozUsCVbAM46E6KPZYEs6+sKBcU9DO/2WUbc7KMdl3NCk46 Iaqoa8SPkOswuIUtOL5aTThn3eP3Q0bWqjsAr6gqJBCQl2B7DFpNmigd1rnFchtw SZs3neZ3wz1FdrZMixA/lE0okMjTfxoD6rslDyI7ZrU/DKUSt0ojGbceyM0ODYQr GX2UhnByTJcoL/9PVJPS =lEGU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org