I worked it out. For the apache virtualhost config for 443 I changed the rewrite rule to this:
RewriteRule ^/zp($|/.*) http://%{SERVER_NAME}:8080/VirtualHostRoot$1 [L,P]
I probably should have included my rewrite rules in the earlier message. I'm sure my mistake would have been glaringly obvious.
Bernard