Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main
 parent


eh?
by Chris Withers on Tuesday September 05, 09:53AM, 2006
OK, for starters, "performance hit of the VHM"? What performance hit are you referring to?

Other than that, the rewrite rule you're looking for is:

RewriteRule ^/mysquishdot(.*)$ http://192.168.1.64:8080/VirtualHostBase/http/www.wolterworks.net:80/afolder/VirtualHostRoot/_vh_mysquishdot$1 [L,P]

cheers,

Chris
Related Links
  • Articles on Websites
  • Also by Chris Withers
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: eh?
    by john s wolter on Thursday September 07, 01:28AM, 2006
    Eh. Are you one of my Canadian friends? Eh.

    Thank you for your reply it set me on to a working access. I took your suggestion and made a single change in the VirtualHostBase portion

    RewriteRule... .../VirtualHostBase/.../afolder/mysquish/...
    that is I added /mysquish/ and it worked. I'll be testing that more later today with additional examples. As far as testing I should also try to figure out some useful example site code/objects to test accessing virtual sites within a Zope instance(s) to be more familar.

    Now I'm wondering about the "_vh_" you added. I looked through the online Zope Book and a general Zope.org and Google search and have not turned anything up. Can you give me some background or a lead to where this is documented?

    Last I'm going to have to lookup where I got the impressions about VHM performance. As I recall it's within one of the serveral Zope & Plone books I have. Thank you for your help.
    [ Reply to this ]
    • ...
      by Chris Withers on Thursday September 07, 06:34AM, 2006
      I don't have a clue what the Canadian comment is all about...

      Glad the VHM thing worked out for you, it's a pretty standard part of any Zope setup. Once you have it working, I doubt you'll need to test it that much, it "just works".

      The VHM performance thing is rubbish, I'd be very interested in seeing what caused you to get concerned about it.
      [ Reply to this ]
      • Re: eh?
        by john s wolter on Thursday September 07, 04:27PM, 2006
        I just spotted a portion of the Zope Book 2.6 online about VHM titled "Virtual Hosting Services". I found a reference to "_vh_" in the last two paragraphs and it states,..

        "If you insert VirtualHostRoot, followed by one or more path elements that start with _vh_, then these elements will be ignored during traversal and then added (without the _vh_) to the start of generated URLs. For instance, a request for "/a/VirtualHostRoot/_vh_z/" will traverse "a" and then generate URLs that start with /"

        My copy of the book is from 2002 and does not have that chapter.

        I've looked through a few of my Zope/Plone books and have yet to find a reference to VHM performance. I'll keep looking.

        The Eh is about a form of speech in Canada. It is common for Canadians to speak a sentence and then say "eh". This either as a excalmation mark, "!", or as a way to ask a question, "eh?". Sometimes it sounds like a replacement for a period at the end of a sentence.


        [ Reply to this ]
        • Re: eh?
          by Chris Withers on Monday September 11, 11:53AM, 2006
          Yeah, funny that, things changing in 4 years ;-)

          Surprisingly, a 2002 edition of a book about a piece of software is likely to be out of date, no?

          Chris
          [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.