Thursday 09 September 2004 11:35:40 am
I'd like to say I have the same problem. I'm running in virtual host mode in Apache 2.0 on RedHat 9.0. I have full access to the server configuration. The redirect regex is in the VirtualHost directive in httpd.conf, and also in the .htaccess file. I have replaced ezurl with ezroot in all my templates. Internal links work just fine. External links in the XML field (that is, they are input through the content manager, not coded in a template) get rewritten to link to my homepage. External links in templates that don't use the ezroot or ezurl operator (using straight HTML) work just fine. So the code <link href="http://www.otherpage.com/full/path/to/page.html">Click here!</link> gets replaced with <a href="/">Click here!</a> in the generated HTML document. Interestingly enough, if I replace ezroot with ezurl in a template, then all the internal links have the ezpublish sessionID encoded in the URL. I originally developed the site in non-virtual host mode, and all the external links worked just fine. It's only after switching to virtual host mode that the problem showed up. A. Junge
|