Hi Julian On Thu, Nov 13, 2008 at 6:40 PM, Julian Reschke <[EMAIL PROTECTED]>wrote:
> Marc Speck wrote: > >> I want to reverse proxy webdav access with Apache 2.2. Besides routing and >> other stuff, the web server also encrypts the connections. While this >> works >> fine with ProxyPass and ProxyPreserveHost for the host name, it fails for >> sending the decrypted request from Apache to Jackrabbit. The reason is >> that >> Jackrabbit cannot know that it is supposed to deliver encrypted links in >> his >> responses. >> >> I think the problem/solution lies in the constructor of WebdavRequestImpl. >> Instead of creating hrefPrefix in the constructor of WebdavRequestImpl, >> could it be passed by the AbstractWebdavServlet.service() method? The >> following change enables implementations of AbstractWebdavServlet to parse >> their particular hrefPrefixes: >> ... >> > > Wouldn't it be much simpler just to put absolute paths inside the <href> > elements? > What do you mean with "absolute paths inside <href> elements"? Could you give me one hint more? Do you suggest to make hrefPrefixes a fixed configuration setting? In that case I'd prefer a dynamic solution for handling virtual hosts. Thanks, Marc
