[Zope] Virtual Host Monster generates a monsterous URL!
Patrick Kirk
patrick at kirks.net
Fri Feb 27 16:51:17 EST 2004
Sanity check before I email the sysadmin - the rule should be:
http://64.5.48.153:8081/VirtualHostBase/http/enterprise-hr.com:80/www/
VirtualHostRoot/$1 [NC, L, P]
Best regards,
Patrick Kirk
Mobile: 07876 560 646
Ed Leafe wrote:
> On Feb 27, 2004, at 3:04 PM, Patrick Kirk wrote:
>
>> <VirtualHost 64.5.48.153>
>> ServerName www.enterprise-hr.com
>> DocumentRoot /websites/enterpri/zope
>> RewriteEngine on
>> RewriteRule ^/(.*)
>> http://64.5.48.153:8081/VirtualHostBase/http/enterprise-hr.com:80/www/
>> VirtualHostRoot/$1
>> </VirtualHost>
>>
>> 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.
>
> ___/
> /
> __/
> /
> ____/
> Ed Leafe
> http://leafe.com/
> http://opentech.leafe.com
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list