RewriteEngine On RewriteRule ^/zenoss($|/.*) http://localhost:8080/VirtualHostBase/https/server:443/VirtualHostRoot/zenoss$1 [L,P]
This way doesn't work. I get:
An error was encountered while publishing this resource. The requested resource does not exist. Please click here to return to the Zenoss dashboard
The url for "Please click here to return to the Zenoss dashboard" points to https://server/zport/dmd
However, it does work if I do it the standard Zenoss/Plone/Zope way:
RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/https/server:443/VirtualHostRoot/$1 [L,P]
... it works great.
According to this article, it seems like the first way should work. I'm not really sure what I'm missing.