[Zope] Virtual Host Monster generates a monsterous URL!
ed at leafe.com
Fri Feb 27 16:29:27 EST 2004
On Feb 27, 2004, at 3:04 PM, Patrick Kirk wrote:
> <VirtualHost 18.104.22.168>
> ServerName www.enterprise-hr.com
> DocumentRoot /websites/enterpri/zope
> RewriteEngine on
> RewriteRule ^/(.*)
> The VHM documentation is kinda dense so does anyone see why I'm
> getting the huge URLs?
Try adding " [NC, L, P]" (without quotes) at the end of the rewrite
rule (after the "/$1". The "P" part of that treats it like a proxy, so
that you shouldn't see the big honking URL in the browser.
More information about the Zope